aboutsummaryrefslogtreecommitdiffstats
path: root/lang/pike/scripts
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-02-13 09:04:28 +0800
committerreg <reg@FreeBSD.org>2000-02-13 09:04:28 +0800
commitc085b8334fc3e3e18685ee5be72024fe27a51396 (patch)
tree3c54837e5dccaa2f8c4d2b22b7edf49e4d3902f8 /lang/pike/scripts
parent0ba56b360496c988063932badd95c3e4eb9bf773 (diff)
downloadfreebsd-ports-gnome-c085b8334fc3e3e18685ee5be72024fe27a51396.tar.gz
freebsd-ports-gnome-c085b8334fc3e3e18685ee5be72024fe27a51396.tar.zst
freebsd-ports-gnome-c085b8334fc3e3e18685ee5be72024fe27a51396.zip
Make this port actually allow you to pick depends.
Approved by: maintainer
Diffstat (limited to 'lang/pike/scripts')
-rw-r--r--lang/pike/scripts/configure.pike10
1 files changed, 3 insertions, 7 deletions
diff --git a/lang/pike/scripts/configure.pike b/lang/pike/scripts/configure.pike
index 8a8d041d583e..343685570c1a 100644
--- a/lang/pike/scripts/configure.pike
+++ b/lang/pike/scripts/configure.pike
@@ -42,7 +42,7 @@ mkdir -p ${WRKDIRPREFIX}${CURDIR}
while [ "$1" ]; do
case $1 in
\"FreeType\")
- echo "LIB_DEPENDS+= ttf.3:\${PORTSDIR}/print/freetype" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "LIB_DEPENDS+= ttf.4:\${PORTSDIR}/print/freetype" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
echo "CONFIGURE_ARGS+= --with-ttflib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
FreeType=1
;;
@@ -63,7 +63,7 @@ while [ "$1" ]; do
JPEG=1
;;
\"GDBM\")
- echo "BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "LIB_DEPENDS+= gdbm.2:${PORTSDIR}/databases/gdbm" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
echo "CONFIGURE_ARGS+= --with-gdbm=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
GDBM=1
;;
@@ -72,11 +72,7 @@ while [ "$1" ]; do
zlib=1
;;
\"MySQL\")
- echo ".if !exists(\${PREFIX}/lib/mysql/libmysqlclient.a) || exists(\${PREFIX}/lib/mysql/libmysqlclient.so)" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
- echo "LIB_DEPENDS+= mysqlclient.5:\${PORTSDIR}/databases/mysql322" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
- echo ".else" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
- echo "BUILD_DEPENDS+= \${PREFIX}/lib/mysql/libmysqlclient.a:\${PORTSDIR}/databases/mysql321" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
- echo ".endif" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "LIB_DEPENDS+= mysqlclient.6:\${PORTSDIR}/databases/mysql322-client" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
echo "CONFIGURE_ARGS+= --with-mysql=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
MySQL=1
;;