- Add missing dependency on libgmp

- Add LDFLAGS necessary to link with libgmp
- Fix shebang on an example file

PR:		201133
Submitted by:	amdmi3
MFH:		2015Q2
This commit is contained in:
Danilo Egea Gondolfo 2015-06-30 02:30:36 +00:00
parent f468aa5a1c
commit d47a56ea28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390944

View file

@ -3,7 +3,7 @@
PORTNAME= yap PORTNAME= yap
PORTVERSION= 6.3.3 PORTVERSION= 6.3.3
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= lang CATEGORIES= lang
MASTER_SITES= http://www.dcc.fc.up.pt/~vsc/Yap/ MASTER_SITES= http://www.dcc.fc.up.pt/~vsc/Yap/
PKGNAMESUFFIX= -devel PKGNAMESUFFIX= -devel
@ -14,6 +14,8 @@ COMMENT= High-performance Prolog compiler
LICENSE= ART20 LGPL3 LICENSE= ART20 LGPL3
LICENSE_COMB= dual LICENSE_COMB= dual
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
CONFLICTS= yap-6.2.* CONFLICTS= yap-6.2.*
OPTIONS_DEFINE= DOCS MYDDAS OPTIONS_DEFINE= DOCS MYDDAS
@ -28,12 +30,19 @@ DOCS_INSTALL_TARGET= install install_docs
MYDDAS_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc MYDDAS_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc
MYDDAS_CONFIGURE_ENABLE= myddas myddas-top-level MYDDAS_CONFIGURE_ENABLE= myddas myddas-top-level
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= PKGLDFLAGS="${LDFLAGS}"
STRIP= #none STRIP= #none
USE_LDCONFIG= yes USE_LDCONFIG= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-max-performance --disable-clpbn-bp CONFIGURE_ARGS+= --enable-max-performance --disable-clpbn-bp
USES= gmake USES= gmake shebangfix
SHEBANG_FILES= packages/http/examples/demo_inetd
SHEBANG_LANG= swipl
swipl_OLD_CMD= /usr/bin/swipl
swipl_CMD= ${LOCALBASE}/bin/swipl # installed by lang/swi-pl
USE_GCC= any USE_GCC= any
EXTRACT_CMD= ${GZIP_CMD} EXTRACT_CMD= ${GZIP_CMD}