diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-08-16 20:40:30 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-08-16 20:40:30 +0000 |
commit | 7216072437905544a7ae778e53aab4a9805bc296 (patch) | |
tree | f1fbe0132ee54a11b63424a24c107d82bd4e77c2 /www | |
parent | 44c7d4cd0bf39a743999c45c91ed60c0cdadf0d0 (diff) | |
download | freebsd-ports-7216072437905544a7ae778e53aab4a9805bc296.zip |
- Fix "Undefined symbols" at run-time.
PR: ports/70316
Submitted by: Daniel Grund <daniel@dgrund.de>
With help from: thierry
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_tidy/Makefile | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/www/mod_tidy/Makefile b/www/mod_tidy/Makefile index 0f9cf5ea7c30..f8a92bf5b044 100644 --- a/www/mod_tidy/Makefile +++ b/www/mod_tidy/Makefile @@ -14,25 +14,17 @@ DIST_SUBDIR= apache MAINTAINER= clement@FreeBSD.org COMMENT= Validates the HTML output of your apache2 webserver -BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 -RUN_DEPENDS= ${BUILD_DEPENDS} LIB_DEPENDS= tidy:${PORTSDIR}/www/tidy-lib RESTRICTED= "no license" -APXS?= ${LOCALBASE}/sbin/apxs +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src +WANT_APACHE= 2 +AP_FAST_BUILD= YES +AP_GENPLIST= YES +AP_INC+= ${LOCALBASE}/include/tidy +AP_LIB+= ${LOCALBASE}/lib -ltidy -TIDY_INC= ${LOCALBASE}/include/tidy -TIDY_LIBS= ${LOCALBASE}/lib - -post-extract: - @${ECHO_MSG} "===> Removing distributed tidy libs to avoid conflicts" - @${RM} -fr ${WRKSRC}/tidy - -do-build: - @(cd ${WRKSRC}/src && ${APXS} -I ${TIDY_INC} -L ${TIDY_LIBS} -c ${PORTNAME}.c) - -do-install: - @(cd ${WRKSRC}/src && ${APXS} -A -i ${PORTNAME}.la) - -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd" +.include <bsd.port.post.mk> |