aboutsummaryrefslogtreecommitdiff
path: root/www/apache13-modssl/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2005-10-04 05:44:09 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2005-10-04 05:44:09 +0000
commit095d08a441e5f7dde8565c852c254fcf72f94339 (patch)
tree23ac70301a0b64f0b13f021d0e33f2c417988ad9 /www/apache13-modssl/Makefile
parent2b2741c31b195e85bc69c5f73df00805025ce4b6 (diff)
downloadports-095d08a441e5f7dde8565c852c254fcf72f94339.tar.gz
ports-095d08a441e5f7dde8565c852c254fcf72f94339.zip
- honor LDFLAGS
- fix EXPAT options in some cases the external expat was not used.
Notes
Notes: svn path=/head/; revision=144132
Diffstat (limited to 'www/apache13-modssl/Makefile')
-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' \