diff options
author | James E. Housley <jeh@FreeBSD.org> | 2003-11-17 11:40:14 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2003-11-17 11:40:14 +0000 |
commit | 74bbad0a549a66f34713c14d9924e9374de39ba1 (patch) | |
tree | 8a364653c886109fefb74acbd3b4f25a7d47b46d /lang/php4 | |
parent | - Fix typo in LIB_DEPENDS (diff) |
Allow compiling with debugging enabled.
PR: 58851
Submitted By: jeh
Diffstat (limited to 'lang/php4')
-rw-r--r-- | lang/php4/Makefile | 9 | ||||
-rw-r--r-- | lang/php4/scripts/configure.php | 1 | ||||
-rw-r--r-- | lang/php4/scripts/php4_options | 1 |
3 files changed, 9 insertions, 2 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile index fbcb8abc0cbd..4d03f4e64742 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -125,8 +125,8 @@ SAPI_FILE= "bin/php" .endif ALL_OPTIONS= BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DB4 DBASE DBX \ - DOMXML DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT GMP \ - HYPERWAVE ICONV IMAP INTERBASE INIFILE MBSTRING MCAL MCVE \ + DEBUG DOMXML DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT \ + GMP HYPERWAVE ICONV IMAP INTERBASE INIFILE MBSTRING MCAL MCVE \ MCRYPT MHASH MIME MING MNOGOSEARCH MYSQL NCURSES OPENLDAP \ OPENSSL ORACLE OVERLOAD PCNTL PCRE PDFLIB POSIX POSTGRESQL \ PSPELL READLINE RECODE SESSION SHMOP SNMP SOCKETS SYBASEDB \ @@ -251,6 +251,11 @@ CONFIGURE_ARGS+=--enable-dbase CONFIGURE_ARGS+=--enable-dbx .endif +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+=--enable-debug +EXT_DIR:=${EXT_DIR}-debug +.endif + .if defined(WITH_DOMXML) LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2 CONFIGURE_ARGS+=--with-dom=${LOCALBASE} diff --git a/lang/php4/scripts/configure.php b/lang/php4/scripts/configure.php index 5c9b96862b5a..4aaabf98b5bb 100644 --- a/lang/php4/scripts/configure.php +++ b/lang/php4/scripts/configure.php @@ -28,6 +28,7 @@ CURL "CURL support" ${WITH_CURL:-OFF} \ DB4 "Berkeley DB4 support" ${WITH_DB4:-OFF} \ DBASE "dBase library support" ${WITH_DBASE:-OFF} \ DBX "dbx support" ${WITH_DBX:-OFF} \ +DEBUG "debug support" ${WITH_DEBUG:-OFF} \ DOMXML "DOM support" ${WITH_DOMXML:-OFF} \ DOMXSLT "DOM XSLT and EXSLT support (implies DOMXML)" ${WITH_DOMXSLT:-OFF} \ EXIF "EXIF support" ${WITH_EXIF:-OFF} \ diff --git a/lang/php4/scripts/php4_options b/lang/php4/scripts/php4_options index 1a50c04229bc..3ee7644921ec 100644 --- a/lang/php4/scripts/php4_options +++ b/lang/php4/scripts/php4_options @@ -8,6 +8,7 @@ WITH_CURL=OFF WITH_DB4=OFF WITH_DBASE=OFF WITH_DBX=OFF +WITH_DEBUG=OFF WITH_DOMXML=OFF WITH_DOMXSLT=OFF WITH_EXIF=OFF |