aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-08-23 19:06:16 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-08-23 19:06:16 +0000
commit0aaa561798a3e27adabdf839477525d4449a9f5a (patch)
tree0ea8fa0be468c31b6a384f58dd9d5fd568442048 /lang
parent9692428a71796ed1731caa5866ecf1081a17075a (diff)
downloadports-0aaa561798a3e27adabdf839477525d4449a9f5a.tar.gz
ports-0aaa561798a3e27adabdf839477525d4449a9f5a.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/pike/Makefile5
-rw-r--r--lang/pike/scripts/configure.pike5
-rw-r--r--lang/pike70/Makefile5
-rw-r--r--lang/pike70/scripts/configure.pike5
-rw-r--r--lang/pike72/Makefile5
-rw-r--r--lang/pike72/scripts/configure.pike5
-rw-r--r--lang/pike73/Makefile5
-rw-r--r--lang/pike73/scripts/configure.pike5
-rw-r--r--lang/pike74/Makefile5
-rw-r--r--lang/pike74/scripts/configure.pike5
10 files changed, 40 insertions, 10 deletions
diff --git a/lang/pike/Makefile b/lang/pike/Makefile
index 132cfb180e51..c3a11aa97a6f 100644
--- a/lang/pike/Makefile
+++ b/lang/pike/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/pike/scripts/configure.pike b/lang/pike/scripts/configure.pike
index 07ace70ee980..347b82c6d300 100644
--- a/lang/pike/scripts/configure.pike
+++ b/lang/pike/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
diff --git a/lang/pike70/Makefile b/lang/pike70/Makefile
index 132cfb180e51..c3a11aa97a6f 100644
--- a/lang/pike70/Makefile
+++ b/lang/pike70/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/pike70/scripts/configure.pike b/lang/pike70/scripts/configure.pike
index 07ace70ee980..347b82c6d300 100644
--- a/lang/pike70/scripts/configure.pike
+++ b/lang/pike70/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
diff --git a/lang/pike72/Makefile b/lang/pike72/Makefile
index 132cfb180e51..c3a11aa97a6f 100644
--- a/lang/pike72/Makefile
+++ b/lang/pike72/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/pike72/scripts/configure.pike b/lang/pike72/scripts/configure.pike
index 07ace70ee980..347b82c6d300 100644
--- a/lang/pike72/scripts/configure.pike
+++ b/lang/pike72/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
diff --git a/lang/pike73/Makefile b/lang/pike73/Makefile
index 132cfb180e51..c3a11aa97a6f 100644
--- a/lang/pike73/Makefile
+++ b/lang/pike73/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/pike73/scripts/configure.pike b/lang/pike73/scripts/configure.pike
index 07ace70ee980..347b82c6d300 100644
--- a/lang/pike73/scripts/configure.pike
+++ b/lang/pike73/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
diff --git a/lang/pike74/Makefile b/lang/pike74/Makefile
index 132cfb180e51..c3a11aa97a6f 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 07ace70ee980..347b82c6d300 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