summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2015-06-30 02:30:36 +0000
committerdanilo <danilo@FreeBSD.org>2015-06-30 02:30:36 +0000
commit21437a17abab18cb8af554f59a3a22980264f6d2 (patch)
treeebcc2d11cefaf654a0d7d457375405cda83e603f
parentc01cad7a81398eb6fdcd165b0e02047b817e7e2b (diff)
downloadFreeBSD-ports-21437a17abab18cb8af554f59a3a22980264f6d2.zip
FreeBSD-ports-21437a17abab18cb8af554f59a3a22980264f6d2.tar.gz
- 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
-rw-r--r--lang/yap-devel/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/lang/yap-devel/Makefile b/lang/yap-devel/Makefile
index 701b7a9..4bfb3cf 100644
--- a/lang/yap-devel/Makefile
+++ b/lang/yap-devel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= yap
PORTVERSION= 6.3.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang
MASTER_SITES= http://www.dcc.fc.up.pt/~vsc/Yap/
PKGNAMESUFFIX= -devel
@@ -14,6 +14,8 @@ COMMENT= High-performance Prolog compiler
LICENSE= ART20 LGPL3
LICENSE_COMB= dual
+LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+
CONFLICTS= yap-6.2.*
OPTIONS_DEFINE= DOCS MYDDAS
@@ -28,12 +30,19 @@ DOCS_INSTALL_TARGET= install install_docs
MYDDAS_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc
MYDDAS_CONFIGURE_ENABLE= myddas myddas-top-level
+LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_ENV= PKGLDFLAGS="${LDFLAGS}"
+
STRIP= #none
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
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
EXTRACT_CMD= ${GZIP_CMD}
OpenPOWER on IntegriCloud