* 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:
Eelco Dolstra 2004-04-23 16:29:53 +00:00
parent ec232441a2
commit 163a382727
2 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -1,4 +1,6 @@
{stdenv, fetchurl}: stdenv.mkDerivation {
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "getopt-1.1.3";
builder = ./builder.sh;
src = fetchurl {