Compare commits
1 Commits
master
...
freebsd-lo
Author | SHA1 | Date | |
---|---|---|---|
![]() |
80fbb24c9f |
|
@ -1,4 +1,4 @@
|
||||||
#! /bin/sh
|
#! /usr/local/bin/bash
|
||||||
|
|
||||||
IFS=
|
IFS=
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
export NIX_LDFLAGS=-Wl,-s
|
export NIX_LDFLAGS="-Wl,-s -pthread"
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ if test $httpServer; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test $pythonBindings; then
|
if test $pythonBindings; then
|
||||||
|
export PYTHON=$python/bin/python
|
||||||
extraflags="--with-swig=$swig $extraflags"
|
extraflags="--with-swig=$swig $extraflags"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ Function(["localServer", "httpsClient", "httpServer", "pythonBindings"],
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||||
, ("ssl", If(Var("httpsClient"), IncludeFix("openssl/openssl.fix"), ""))
|
, ("ssl", If(Var("httpsClient"), IncludeFix("openssl/openssl.fix"), ""))
|
||||||
, ("swig", If(Var("pythonBindings"), IncludeFix("swig/swig.fix"), ""))
|
, ("swig", If(Var("pythonBindings"), IncludeFix("swig/swig.fix"), ""))
|
||||||
|
, ("python", "/usr/local")
|
||||||
, ("httpd", If(Var("httpServer"), IncludeFix("httpd/httpd.fix"), ""))
|
, ("httpd", If(Var("httpServer"), IncludeFix("httpd/httpd.fix"), ""))
|
||||||
, ("db4", If(Var("localServer"), IncludeFix("db4/db4.fix"), ""))
|
, ("db4", If(Var("localServer"), IncludeFix("db4/db4.fix"), ""))
|
||||||
, ("libxml", IncludeFix("libxml2/libxml2.fix"))
|
, ("libxml", IncludeFix("libxml2/libxml2.fix"))
|
||||||
|
|
|
@ -6,6 +6,6 @@ export NIX_LDFLAGS=-Wl,-s
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
tar xvfz $src || exit 1
|
||||||
cd SWIG-* || exit 1
|
cd SWIG-* || exit 1
|
||||||
./configure --prefix=$out || exit 1
|
./configure --prefix=$out --with-python=$python/bin/python || exit 1
|
||||||
gmake || exit 1
|
/usr/local/bin/gmake || exit 1
|
||||||
gmake install || exit 1
|
/usr/local/bin/gmake install || exit 1
|
||||||
|
|
|
@ -8,5 +8,7 @@ Package(
|
||||||
]))
|
]))
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||||
|
|
||||||
|
, ("python", "/usr/local")
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user