aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache13-modssl
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-10-04 13:44:09 +0800
committerdinoex <dinoex@FreeBSD.org>2005-10-04 13:44:09 +0800
commit5587fe2ac6049daafe7fb54061a4231e69fe0112 (patch)
tree5144a1b78706ff93c65b4111e77671182f246577 /www/apache13-modssl
parent5e186a7573aa3c6c15febc7568bcf5db8d6678a6 (diff)
downloadfreebsd-ports-gnome-5587fe2ac6049daafe7fb54061a4231e69fe0112.tar.gz
freebsd-ports-gnome-5587fe2ac6049daafe7fb54061a4231e69fe0112.tar.zst
freebsd-ports-gnome-5587fe2ac6049daafe7fb54061a4231e69fe0112.zip
- honor LDFLAGS
- fix EXPAT options in some cases the external expat was not used.
Diffstat (limited to 'www/apache13-modssl')
-rw-r--r--www/apache13-modssl/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/apache13-modssl/Makefile b/www/apache13-modssl/Makefile
index 87843ad429dc..399c22d9668f 100644
--- a/www/apache13-modssl/Makefile
+++ b/www/apache13-modssl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= apache+mod_ssl
PORTVERSION= ${VERSION_APACHE}+${VERSION_MODSSL}
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES?= www security
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
${MASTER_SITES_MODSSL:S/$/:mod_ssl/} \
@@ -142,12 +142,11 @@ CONFIGURE_ARGS+= --runtimedir=${APACHE_RELATIVE_RUNTIMEDIR}
.if defined(WITHOUT_APACHE_EXPAT) || defined(APACHE_WITHOUT_EXPAT)
CONFIGURE_ARGS+= --disable-rule=EXPAT
.else
-.if !defined(WITH_APACHE_INTERNAL_EXPAT) || ${WITH_APACHE_INTERNAL_EXPAT} != yes
-EXPAT_CONF+= --disable-rule=EXPAT
+.if !defined(WITH_APACHE_INTERNAL_EXPAT)
LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2
-.else
-EXPAT_CONF+= --enable-rule=EXPAT
+LDFLAGS+= -L${LOCALBASE}/lib
.endif
+CONFIGURE_ARGS+= --enable-rule=EXPAT
.endif
.if defined(APACHE_HARD_SERVER_LIMIT)
@@ -280,6 +279,7 @@ EXTRA_PATCHES+= ${FILESDIR}/rotatelogs.c.patch
.endif
CONFIGURE_ENV= CFLAGS='${CFLAGS}' \
+ LDFLAGS='${LDFLAGS}' \
OPTIM='${OPTIM}' \
SSL_BASE='${OPENSSLBASE}' \
EAPI_MM='SYSTEM' \