diff options
author | clement <clement@FreeBSD.org> | 2004-05-30 05:37:38 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-05-30 05:37:38 +0800 |
commit | 05d94cad73511ddcc305bbf8d721d8705ccf5054 (patch) | |
tree | 804207ed6927d53408290cd1275c6b9ff1066358 /www/apache20/Makefile | |
parent | 167c06205af321502226ead72d3ca71393b6d70b (diff) | |
download | freebsd-ports-gnome-05d94cad73511ddcc305bbf8d721d8705ccf5054.tar.gz freebsd-ports-gnome-05d94cad73511ddcc305bbf8d721d8705ccf5054.tar.zst freebsd-ports-gnome-05d94cad73511ddcc305bbf8d721d8705ccf5054.zip |
- Fix build if WITH_APR_FROM_PORTS is defined.
- Advertise ServerToken i.e.:
Apache/2.0.49 (FreeBSD) Server at satan.cultdeadsheep.org Port 80
Diffstat (limited to 'www/apache20/Makefile')
-rw-r--r-- | www/apache20/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/apache20/Makefile b/www/apache20/Makefile index 037c0464c3b1..81d048263e0a 100644 --- a/www/apache20/Makefile +++ b/www/apache20/Makefile @@ -111,6 +111,7 @@ BROKEN= "You can't set WITH_BDB or WITH_BERKELEYDB when WITH_APR_FROM_PORTS is LIB_DEPENDS+= apr-0.9:${PORTSDIR}/devel/apr CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-config \ --with-apr-util=${LOCALBASE}/bin/apu-config +CONFIGURE_ENV+= LTFLAGS="--tag=CXX" PLIST_SUB+= PORTS_APR="@comment " .else . if exists(${LOCALBASE}/lib/libapr-0.so) @@ -169,6 +170,8 @@ post-patch: @${SED} ${RC_SUB} ${FILESDIR}/apache.sh >${WRKDIR}/apache2.sh @${SED} ${RC_SUB} ${FILESDIR}/config.layout >>${WRKSRC}/config.layout @${RM} -f ${WRKSRC}/docs/manual/index.html.ko.euc-kr + @${REINPLACE_CMD} -e 's," PLATFORM ",FreeBSD,' \ + ${WRKSRC}/server/core.c pre-install: @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL |