diff options
| author | Max Brazhnikov <makc@FreeBSD.org> | 2010-04-25 15:31:17 +0000 |
|---|---|---|
| committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-04-25 15:31:17 +0000 |
| commit | 57ee8e41fdde6250c8a63e5c78632a4ca0d0cad8 (patch) | |
| tree | 33a40cbafb51ff465f9124901fa20536abe7f48f /sysutils/coreutils | |
| parent | 952c0f6a06349d60eb155e9ddfdd7fcf33a9099a (diff) | |
Notes
Diffstat (limited to 'sysutils/coreutils')
| -rw-r--r-- | sysutils/coreutils/Makefile | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile index 1b0086fd3f89..b3d9253c2808 100644 --- a/sysutils/coreutils/Makefile +++ b/sysutils/coreutils/Makefile @@ -24,14 +24,6 @@ USE_GMAKE= yes USE_LDCONFIG= yes #USE_BISON= yes -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.else -USE_GETTEXT= yes -PLIST_SUB+= NLS="" -.endif - INFO= coreutils MAN1= gbasename.1 gcat.1 gchcon.1 gchgrp.1 gchmod.1 gchown.1 gchroot.1 \ @@ -49,6 +41,24 @@ MAN1= gbasename.1 gcat.1 gchcon.1 gchgrp.1 gchmod.1 gchown.1 gchroot.1 \ gusers.1 gvdir.1 gwc.1 gwho.1 gwhoami.1 gyes.1 gbase64.1 gsha224sum.1 \ gsha256sum.1 gsha384sum.1 gsha512sum.1 gshuf.1 +OPTIONS= GMP "Build with GNU Multiple Precision Arithmetic Library" off + +.include <bsd.port.options.mk> + +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + +.if defined(WITH_GMP) +LIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp +.else +CONFIGURE_ARGS+=--without-gmp +.endif + .include <bsd.port.pre.mk> .if ${OSVERSION} >= 800039 |
