summaryrefslogtreecommitdiffstats
path: root/lang/pike74
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-08-23 19:06:16 +0000
committerdinoex <dinoex@FreeBSD.org>2002-08-23 19:06:16 +0000
commit60c7b71811d6ef2070e32cc43d854d582c35272b (patch)
tree84809e257042299535e083685fdb3d68fcfce319 /lang/pike74
parente39bc32749ed1bccb73239dc792956c8d26064c0 (diff)
downloadFreeBSD-ports-60c7b71811d6ef2070e32cc43d854d582c35272b.zip
FreeBSD-ports-60c7b71811d6ef2070e32cc43d854d582c35272b.tar.gz
use port math/libgmp4 in CURRENT
Fix SSL problem. PR: 40450 Submitted by: tacho@factline.com,kiwi@oav.net
Diffstat (limited to 'lang/pike74')
-rw-r--r--lang/pike74/Makefile5
-rw-r--r--lang/pike74/scripts/configure.pike5
2 files changed, 8 insertions, 2 deletions
diff --git a/lang/pike74/Makefile b/lang/pike74/Makefile
index 132cfb1..c3a11aa 100644
--- a/lang/pike74/Makefile
+++ b/lang/pike74/Makefile
@@ -22,6 +22,9 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src/
IS_INTERACTIVE= yes
GNU_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.else
@@ -51,4 +54,4 @@ post-install:
${INSTALL_PROGRAM} ${WRKSRC}pike ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}hilfe ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/lang/pike74/scripts/configure.pike b/lang/pike74/scripts/configure.pike
index 07ace70..347b82c 100644
--- a/lang/pike74/scripts/configure.pike
+++ b/lang/pike74/scripts/configure.pike
@@ -50,6 +50,9 @@ while [ "$1" ]; do
threads=1
;;
\"gmp\")
+ echo ".if ${OSVERSION} >= 500000" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "LIB_DEPENDS+= gmp.6:${PORTSDIR}/math/libgmp4" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo ".endif" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
echo "CONFIGURE_ARGS+= --with-gmp" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
gmp=1
;;
@@ -87,7 +90,7 @@ while [ "$1" ]; do
mSQL=1
;;
\"ssl\")
- echo "CONFIGURE_ARGE+= --with-ssleay" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "CONFIGURE_ARGS+= --with-ssleay" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
ssl=1
;;
esac
OpenPOWER on IntegriCloud