Commit Graph

18 Commits

Author SHA1 Message Date
Jason Felice
7724ef793a plan9port: wrap ALL linker flags 2020-02-20 17:40:30 -05:00
Jason Felice
4d2a8257ed plan9port: fix linker flags for macosx 2020-02-19 20:31:14 -05:00
Jason Felice
1a5c68c7fe plan9port: do not use which in builder.sh
Removing the build time dependency on which broke builder.sh
2019-09-16 22:15:59 -04:00
Jason Felice
83c1e8c319 plan9port: use C compiler from Nix
The install script was escaping the Nix environment on Mac OS by using
`xcrun -sdk macos clang` as its C compiler.  Using the Nix compiler
required declaring the necessary frameworks as inputs and patching
build scripts to assume MacOS 10.12 (and not try to detect).

So cached derivations prior to this would probably not work on all
intended target machines.

This *might* also fix installCheck on Darwin on Hydra.

Other minor fixes:

* Disable parallel building due to a race with a missing y.tab.h
* Use NIX_CFLAGS_COMPILE/NIX_LDFLAGS instead of trying to synthesize
  something like them.
* X11 dependencies aren't used on Darwin when the windowing system
  is correctly detected
2019-08-09 16:29:51 -04:00
Lengyel Balazs
f4a53ff3bc treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
Brandon Elam Barker
7a86c6760a plan9port: 2016-04-18 -> 2018-09-20 2018-10-07 22:13:24 -04:00
Ram Kromberg
e852a8e8b6 plan9port: 2015-06-29 -> 2015-11-10 2016-08-31 08:58:45 +03:00
Vladimír Čunát
f8c211fd2b fontconfig: split into multiple outputs
Fixed all 'fontconfig}' references as well, hopefully, ugh!
2015-10-05 12:23:56 +02:00
Vladimír Čunát
32b31398eb xorg.libXt: re-split into multiple outputs
Fixed all 'libXt}' references, too.
2015-10-05 11:23:34 +02:00
Kovacsics Robert (NixOS-SSD2)
d6e1ee5651 plan9port: fix interpreter paths, add perl
Fixing interpreter paths was done by exporting PLAN9_TARGET, which
INSTALL looks at. Giving $PLAN9 to INSTALL does not achieve this, as
INSTALL only looks at its first argument so I removed the other
arguments to avoid confusion.

Perl is an optional dependency for a script that adds URLs to man pages,
I have added it to get fewer errors during install.
2015-09-10 13:50:51 +01:00
Kovacsics Robert (NixOS-SSD2)
195671aa70 plan9port: 20140306 -> 2015-06-29
We were already using snapshots, but development moved to github.
Also add "9" to $out/bin as it is the recommended practice, see
install.txt
2015-08-24 21:55:48 +01:00
Siarhei Zirukin
2c8ff5fdb7 plan9port: fix destination path in sources; add myself as a maintainer 2014-12-17 23:37:18 +01:00
Siarhei Zirukin
60f2081019 plan9port: make it actually work
* Add "which" dependency, otherwise it builds with lots of
  "command not found" errors.

* -lgcc_s, otherwise many commands basically fail without pthread_cancel.

* Fix X11 dependencies, otherwise it would be plan9port with none of UI
  programs working.
2014-12-06 16:18:30 +01:00
Victor van Poppelen
f4c851f854 plan9port: builder.sh called install script twice, meaning a redundant recompile. 2014-07-31 14:00:28 -04:00
Victor van Poppelen
d2efe7785e plan9port:
- Update to 20140306
	- Fixed libXt dependency.  The compiler could not find X11/IntrinsicP.h, even though it is available through the nix store.  I think there must be some issue with the 9c compiler being used and not obeying the CFLAGS that nix is supposed to pass.  There are probably other dependencies I'm missing, but 9c found in my /usr/include.
2014-07-31 00:38:00 -04:00
Ramakrishnan Muthukrishnan
38e81b5640 plan9port: modify the builder to use the INSTALL script.
plan9port ships with an INSTALL script. This commit modifies the
builder to use the script instead of a custom build script. The
commit also adds a patch to build fontsrv, which is otherwise
omitted from the build.
2014-04-15 18:37:18 +05:30
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Lluís Batlle i Rossell
1167cdd1ba Adding plan9port with X11 support.
For acme to work, set the PLAN9 variable, and have the plan9port programs in the PATH.

svn path=/nixpkgs/trunk/; revision=14669
2009-03-23 21:31:30 +00:00