diff options
author | Clement Laforet <clement@FreeBSD.org> | 2003-12-18 14:13:46 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2003-12-18 14:13:46 +0000 |
commit | 43eb7bdcf405b4017fe8506848c0b64aa4fecb81 (patch) | |
tree | d0861476fdc666efd3fcc7fb6618318654ba2ec4 /www/mod_layout/Makefile | |
parent | Add updatedd 1.8, (diff) |
- Respect CFLAGS and add -fPIC to fix build on amd64
- Use DOCSDIR
PR: 59603
Diffstat (limited to 'www/mod_layout/Makefile')
-rw-r--r-- | www/mod_layout/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/www/mod_layout/Makefile b/www/mod_layout/Makefile index 474cb084bc4b..f7dfb9c31deb 100644 --- a/www/mod_layout/Makefile +++ b/www/mod_layout/Makefile @@ -16,10 +16,11 @@ COMMENT= Apache module to wrap served pages with a header and/or footer USE_APACHE= yes USE_REINPLACE= yes +CFLAGS+= -fPIC + post-patch: @${REINPLACE_CMD} -e 's!apxs!${LOCALBASE}/sbin/apxs!g; \ - s!-DDEBUG!!g' ${WRKSRC}/Makefile - + s!-DDEBUG!$$(CFLAGS)!g' ${WRKSRC}/Makefile post-install: .if !defined(NOPORTDOCS) |