Skip to content

Commit

Permalink
* FreeBSD-specific hacks.
Browse files Browse the repository at this point in the history
svn path=/nixpkgs/branches/freebsd-losser/; revision=266
  • Loading branch information
edolstra committed Aug 6, 2003
1 parent 391c269 commit 80fbb24
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkgs/stdenv-linux/gcc-wrapper.sh
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/local/bin/bash

IFS=

Expand Down
3 changes: 2 additions & 1 deletion pkgs/subversion/subversion-build.sh
@@ -1,6 +1,6 @@
#! /bin/sh

export NIX_LDFLAGS=-Wl,-s
export NIX_LDFLAGS="-Wl,-s -pthread"

. $stdenv/setup || exit 1

Expand All @@ -21,6 +21,7 @@ if test $httpServer; then
fi

if test $pythonBindings; then
export PYTHON=$python/bin/python
extraflags="--with-swig=$swig $extraflags"
fi

Expand Down
1 change: 1 addition & 0 deletions pkgs/subversion/subversion.fix
Expand Up @@ -20,6 +20,7 @@ Function(["localServer", "httpsClient", "httpServer", "pythonBindings"],
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
, ("ssl", If(Var("httpsClient"), IncludeFix("openssl/openssl.fix"), ""))
, ("swig", If(Var("pythonBindings"), IncludeFix("swig/swig.fix"), ""))
, ("python", "/usr/local")
, ("httpd", If(Var("httpServer"), IncludeFix("httpd/httpd.fix"), ""))
, ("db4", If(Var("localServer"), IncludeFix("db4/db4.fix"), ""))
, ("libxml", IncludeFix("libxml2/libxml2.fix"))
Expand Down
6 changes: 3 additions & 3 deletions pkgs/swig/swig-build.sh
Expand Up @@ -6,6 +6,6 @@ export NIX_LDFLAGS=-Wl,-s

tar xvfz $src || exit 1
cd SWIG-* || exit 1
./configure --prefix=$out || exit 1
gmake || exit 1
gmake install || exit 1
./configure --prefix=$out --with-python=$python/bin/python || exit 1
/usr/local/bin/gmake || exit 1
/usr/local/bin/gmake install || exit 1
2 changes: 2 additions & 0 deletions pkgs/swig/swig.fix
Expand Up @@ -8,5 +8,7 @@ Package(
]))

, ("stdenv", IncludeFix("stdenv/stdenv.fix"))

, ("python", "/usr/local")
]
)

0 comments on commit 80fbb24

Please sign in to comment.