diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-09-10 01:16:31 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-09-10 01:16:31 +0800 |
commit | 032f6f55a6f383df2ed154abd1510a1c0893329b (patch) | |
tree | c1a2d5f27fd56c6db60a1219cfd73b671ceddda1 /lang/pike70 | |
parent | e88851aa14591dd5721b2e69eb59c334e1a1bafa (diff) | |
download | freebsd-ports-graphics-032f6f55a6f383df2ed154abd1510a1c0893329b.tar.gz freebsd-ports-graphics-032f6f55a6f383df2ed154abd1510a1c0893329b.tar.zst freebsd-ports-graphics-032f6f55a6f383df2ed154abd1510a1c0893329b.zip |
Fix probem with Variable expansion
PR: 40450
Diffstat (limited to 'lang/pike70')
-rw-r--r-- | lang/pike70/scripts/configure.pike | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/lang/pike70/scripts/configure.pike b/lang/pike70/scripts/configure.pike index 347b82c6d30..13988108f4a 100644 --- a/lang/pike70/scripts/configure.pike +++ b/lang/pike70/scripts/configure.pike @@ -42,90 +42,90 @@ mkdir -p ${WRKDIRPREFIX}${CURDIR} while [ "$1" ]; do case $1 in \"FreeType\") - echo "LIB_DEPENDS+= ttf.4:\${PORTSDIR}/print/freetype" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - echo "CONFIGURE_ARGS+= --with-ttflib" >> ${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 ;; \"threads\") 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 + 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 ;; \"readline\") - echo "CONFIGURE_ARGS+= --with-readline" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --with-readline' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc readline=1 ;; \"JPEG\") - echo "LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - echo "CONFIGURE_ARGS+= --with-jpeg=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --with-jpeg=${PREFIX}' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc JPEG=1 ;; \"GDBM\") - echo "LIB_DEPENDS+= gdbm.2:${PORTSDIR}/databases/gdbm" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - echo "CONFIGURE_ARGS+= --with-gdbm=\${PREFIX}" >> ${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 ;; \"zlib\") - echo "CONFIGURE_ARGS+= --with-zlib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --with-zlib' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc zlib=1 ;; \"MySQL\") - echo "LIB_DEPENDS+= mysqlclient.10:\${PORTSDIR}/databases/mysql323-client" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - echo "CONFIGURE_ARGS+= --with-mysql=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --with-mysql=${PREFIX}' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc MySQL=1 ;; \"PostgreSQL\") - echo "BUILD_DEPENDS+= \${PREFIX}/pgsql/bin/psql:\${PORTSDIR}/databases/postgresql7" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - echo "CONFIGURE_ARGS+= --with-pgsql=\${PREFIX}/pgsql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'BUILD_DEPENDS+= ${PREFIX}/pgsql/bin/psql:${PORTSDIR}/databases/postgresql7' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --with-pgsql=${PREFIX}/pgsql' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc PostgresSQL=1 ;; \"mSQL\") - echo "BUILD_DEPENDS+= msql:\${PORTSDIR}/databases/msql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - echo "CONFIGURE_ARGS+= --with-msql=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'BUILD_DEPENDS+= msql:${PORTSDIR}/databases/msql' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --with-msql=${PREFIX}' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc mSQL=1 ;; \"ssl\") - echo "CONFIGURE_ARGS+= --with-ssleay" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --with-ssleay' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ssl=1 ;; esac shift done if [ -z "$FreeType" ]; then - echo "CONFIGURE_ARGS+= --without-ttflib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --without-ttflib' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi if [ -z "$threads" ]; then - echo "CONFIGURE_ARGS+= --without-threads" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --without-threads' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi if [ -z "$GDBM" ]; then - echo "CONFIGURE_ARGS+= --without-gdbm" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --without-gdbm' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi if [ -z "$zlib" ]; then - echo "CONFIGURE_ARGS+= --without-zlib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --without-zlib' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi if [ -z "$MySQL" ]; then - echo "CONFIGURE_ARGS+= --without-mysql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --without-mysql' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi if [ -z "$PostgreSQL" ]; then - echo "CONFIGURE_ARGS+= --without-postgresql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --without-postgresql' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi if [ -z "$mSQL" ]; then - echo "CONFIGURE_ARGS+= --without-msql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --without-msql' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi if [ -z "$gmp" ]; then - echo "CONFIGURE_ARGS+= --without-gmp --without-bignums" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --without-gmp --without-bignums' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi if [ -z "$JPEG" ]; then - echo "CONFIGURE_ARGS+= --without-jpeg" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --without-jpeg' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi if [ -z "$readline" ]; then - echo "CONFIGURE_ARGS+= --without-readline" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --without-readline' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc if [ -z "$ssl" ]; then - echo "CONFIGURE_ARGS+= --without-ssl" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo 'CONFIGURE_ARGS+= --without-ssl' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi fi |