diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-04-16 14:07:16 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-04-16 14:07:16 +0000 |
commit | 291e472f16b6d1bdca4c5155532a92e21068152d (patch) | |
tree | e7439cce9af92a7aa01722304023d0ad144e794a /www/apache20 | |
parent | 9659b8cfc964162df12dd1f049f469ea3a1de1fb (diff) | |
download | ports-291e472f16b6d1bdca4c5155532a92e21068152d.tar.gz ports-291e472f16b6d1bdca4c5155532a92e21068152d.zip |
Add AP_EXTRA to support extra arguments to apxs during build.
AP_INC and AP_LIB were added.
Reminded by: mod_vdbh port
Notes
Notes:
svn path=/head/; revision=107228
Diffstat (limited to 'www/apache20')
-rw-r--r-- | www/apache20/Makefile.modules.3rd | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/www/apache20/Makefile.modules.3rd b/www/apache20/Makefile.modules.3rd index c2c5c982557d..1367a8e8db5b 100644 --- a/www/apache20/Makefile.modules.3rd +++ b/www/apache20/Makefile.modules.3rd @@ -72,6 +72,13 @@ PLIST_SUB+= AP_MODULE="${MODULENAME}.so" PLIST?= ${WRKDIR}/ap-plist .endif +.if defined(AP_INC) +AP_EXTRAS+= -I ${AP_INC} +.endif +.if defined(AP_LIB) +AP_EXTRAS+= -L ${AP_LIB} +.endif + .if defined(AP_FAST_BUILD) ap-gen-plist: @@ -84,7 +91,7 @@ ap-gen-plist: @${DO_NADA} .endif do-build: ap-gen-plist - @cd ${WRKSRC} && ${APXS} -c -o ${MODULENAME}.${AP_BUILDEXT} ${SRC_FILE} + @cd ${WRKSRC} && ${APXS} -c ${AP_EXTRAS} -o ${MODULENAME}.${AP_BUILDEXT} ${SRC_FILE} do-install: @${APXS} -i -a -n ${SHORTMODNAME} ${WRKSRC}/${MODULENAME}.${AP_BUILDEXT} |