- move bundled extensions to core/ to save build time
- MACHINE_ARCH is predefined; jcs@
This commit is contained in:
parent
eaf84db4f4
commit
35a165e306
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.2 2002/06/24 19:36:07 avsm Exp $
|
||||
# $OpenBSD: Makefile.inc,v 1.3 2002/07/12 10:13:56 avsm Exp $
|
||||
|
||||
# This port currently only works with archs supporting dynamic loading
|
||||
# and has Apache that supports DSO's.
|
||||
@ -44,17 +44,6 @@ CONFIGURE_ARGS+= --enable-shared \
|
||||
# default included extensions
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-openssl \
|
||||
--with-zlib \
|
||||
--enable-bcmath \
|
||||
--enable-calendar \
|
||||
--enable-ctype \
|
||||
--enable-ftp \
|
||||
--with-pcre-regex \
|
||||
--with-posix \
|
||||
--enable-session --enable-trans-sid \
|
||||
--enable-sockets \
|
||||
--enable-sysvsem \
|
||||
--enable-sysvshm \
|
||||
--enable-yp
|
||||
--with-zlib
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
|
@ -1,12 +1,28 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2002/07/09 19:47:43 avsm Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2002/07/12 10:13:56 avsm Exp $
|
||||
|
||||
COMMENT= "server-side HTML-embedded scripting language"
|
||||
PKGNAME= php4-core-${V}
|
||||
|
||||
CONFIGURE_ARGS+= --with-apxs=/usr/sbin/apxs \
|
||||
--without-mysql --without-xml --enable-cli \
|
||||
--with-iconv=${LOCALBASE} --with-gettext=${LOCALBASE} \
|
||||
--enable-dio --without-pear
|
||||
--without-mysql \
|
||||
--without-xml \
|
||||
--enable-cli \
|
||||
--with-iconv=${LOCALBASE} \
|
||||
--with-gettext=${LOCALBASE} \
|
||||
--enable-dio \
|
||||
--without-pear \
|
||||
--enable-bcmath \
|
||||
--enable-session \
|
||||
--enable-trans-sid \
|
||||
--enable-calendar \
|
||||
--enable-ctype \
|
||||
--enable-ftp \
|
||||
--with-pcre-regex \
|
||||
--with-posix \
|
||||
--enable-sockets \
|
||||
--enable-sysvsem \
|
||||
--enable-sysvshm \
|
||||
--enable-yp
|
||||
|
||||
MODULES= gettext iconv
|
||||
|
||||
@ -25,9 +41,10 @@ do-install:
|
||||
@chown ${BINOWN}:${BINGRP} ${PREFIX}/sbin/php4-enable
|
||||
@chmod ${BINMODE} ${PREFIX}/sbin/php4-enable
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
LIB_DEPENDS+= recode.0::converters/recode
|
||||
CONFIGURE_ARGS+= --with-recode=${LOCALBASE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user