diff options
author | reg <reg@FreeBSD.org> | 2000-02-13 01:04:28 +0000 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-02-13 01:04:28 +0000 |
commit | c085b8334fc3e3e18685ee5be72024fe27a51396 (patch) | |
tree | 3c54837e5dccaa2f8c4d2b22b7edf49e4d3902f8 /lang/pike70 | |
parent | 0ba56b360496c988063932badd95c3e4eb9bf773 (diff) | |
download | FreeBSD-ports-c085b8334fc3e3e18685ee5be72024fe27a51396.zip FreeBSD-ports-c085b8334fc3e3e18685ee5be72024fe27a51396.tar.gz |
Make this port actually allow you to pick depends.
Approved by: maintainer
Diffstat (limited to 'lang/pike70')
-rw-r--r-- | lang/pike70/Makefile | 13 | ||||
-rw-r--r-- | lang/pike70/scripts/configure.pike | 10 |
2 files changed, 11 insertions, 12 deletions
diff --git a/lang/pike70/Makefile b/lang/pike70/Makefile index 221844a..ebc4f3c 100644 --- a/lang/pike70/Makefile +++ b/lang/pike70/Makefile @@ -13,11 +13,6 @@ MASTER_SITES= http://pike.idonex.se/download/ MAINTAINER= vns@delta.odessa.ua -pre-fetch: -.if !defined(BATCH) - @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.pike -.endif - WRKSRC= ${WRKDIR}/${DISTNAME}/src/ IS_INTERACTIVE= yes @@ -30,10 +25,18 @@ CONFIGURE_ARGS?= \ --without-msql \ --without-jpeg +pre-fetch: +.if !defined(BATCH) + @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.pike +.endif + pre-configure: @${ECHO} ${CONFIGURE_ARGS} pre-clean: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc +.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) +.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" +.endif .include <bsd.port.mk> diff --git a/lang/pike70/scripts/configure.pike b/lang/pike70/scripts/configure.pike index 8a8d041..3436855 100644 --- a/lang/pike70/scripts/configure.pike +++ b/lang/pike70/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 ;; |