* 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
@ -1,6 +1,4 @@
|
|||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup
|
||||||
|
installFlags="prefix=$out"
|
||||||
tar xvfz $src || exit 1
|
makeFlags="CFLAGS=-DWITHOUT_GETTEXT LIBCGETOPT=0"
|
||||||
cd getopt-* || exit 1
|
genericBuild
|
||||||
make || exit 1
|
|
||||||
make install prefix=$out || exit 1
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{stdenv, fetchurl}: stdenv.mkDerivation {
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
name = "getopt-1.1.3";
|
name = "getopt-1.1.3";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user