summaryrefslogtreecommitdiff
path: root/lang/php4/Makefile
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2003-11-17 11:40:14 +0000
committerJames E. Housley <jeh@FreeBSD.org>2003-11-17 11:40:14 +0000
commit74bbad0a549a66f34713c14d9924e9374de39ba1 (patch)
tree8a364653c886109fefb74acbd3b4f25a7d47b46d /lang/php4/Makefile
parent- Fix typo in LIB_DEPENDS (diff)
Allow compiling with debugging enabled.
PR: 58851 Submitted By: jeh
Diffstat (limited to 'lang/php4/Makefile')
-rw-r--r--lang/php4/Makefile9
1 files changed, 7 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}