Add USE_MYSQL to compile with MySQL. Just run ``make USE_MYSQL=yes install''
This commit is contained in:
parent
8841d89171
commit
f911723b1e
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2000/04/05 06:39:30 jakob Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2000/04/07 14:01:59 kevlo Exp $
|
||||
|
||||
DISTNAME= php-3.0.16
|
||||
PKGNAME= php3-3.0.16
|
||||
@ -21,10 +21,16 @@ ONLY_FOR_ARCHS= i386 m68k sparc mips
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ARGS= --with-apxs=/usr/sbin/apxs
|
||||
CONFIGURE_ARGS+= --without-pcre-regex \
|
||||
CONFIGURE_ARGS+= --with-apxs=/usr/sbin/apxs \
|
||||
--without-pcre-regex \
|
||||
--with-config-file-path=/var/www/conf
|
||||
|
||||
.if defined(USE_MYSQL)
|
||||
CONFIGURE_ARGS+= --with-mysql
|
||||
LIB_DEPENDS= mysqlclient.6::databases/mysql
|
||||
PKGNAME= php3-3.0.16-mysql
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${CHMOD} ${LIBMODE} `apxs -q LIBEXECDIR`/libphp3.so
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/php3
|
||||
|
Loading…
Reference in New Issue
Block a user