* Don't use gettext. Also use an internal (GNU) version of getopt.
This allows it to build on non-glibc platforms (e.g., Mac OS X). svn path=/nixpkgs/trunk/; revision=970
This commit is contained in:
parent
ec232441a2
commit
163a382727
2 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,4 @@
|
|||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd getopt-* || exit 1
|
||||
make || exit 1
|
||||
make install prefix=$out || exit 1
|
||||
. $stdenv/setup
|
||||
installFlags="prefix=$out"
|
||||
makeFlags="CFLAGS=-DWITHOUT_GETTEXT LIBCGETOPT=0"
|
||||
genericBuild
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "getopt-1.1.3";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
|
|
Loading…
Reference in a new issue