- Track libgmp dependency via GMP option

- Enable GMP by default per upstream [1]

[1] http://www.nongnu.org/numdiff/numdiff.html#with-GNU-MP-is-better
This commit is contained in:
Jan Beich 2015-02-17 03:36:58 +00:00
parent 0496f52584
commit cca2c80e13

View file

@ -3,6 +3,7 @@
PORTNAME= numdiff
PORTVERSION= 5.8.1
PORTREVISION= 1
CATEGORIES= math textproc
MASTER_SITES= SAVANNAH
@ -21,9 +22,12 @@ LDFLAGS+= -L${LOCALBASE}/lib
INFO= numdiff
OPTIONS_DEFINE= DOCS NLS
OPTIONS_DEFINE= DOCS GMP NLS
OPTIONS_DEFAULT= GMP
OPTIONS_SUB= yes
GMP_LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
GMP_CONFIGURE_ENABLE= gmp
NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
NLS_INSTALL_TARGET= install install-nls