diff options
author | Sean Chittenden <seanc@FreeBSD.org> | 2006-02-21 07:55:35 +0000 |
---|---|---|
committer | Sean Chittenden <seanc@FreeBSD.org> | 2006-02-21 07:55:35 +0000 |
commit | 09e4d41a9986792168251744ace0ad7ac1b2f467 (patch) | |
tree | fce88f2db181c041d8652dab558473247f0d44a6 /databases | |
parent | 32be164d0565c3e7182964663acd84d5ee6bb4e6 (diff) | |
download | ports-09e4d41a9986792168251744ace0ad7ac1b2f467.tar.gz ports-09e4d41a9986792168251744ace0ad7ac1b2f467.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/cdb/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/cdb/Makefile b/databases/cdb/Makefile index b3696c1965e1..90b2ea564695 100644 --- a/databases/cdb/Makefile +++ b/databases/cdb/Makefile @@ -15,10 +15,6 @@ COMMENT= A fast lookup database library & utilities ALL_TARGET= it -.if ${ARCH} == "amd64" -CFLAGS+= -fPIC -.endif - do-configure: @${MV} ${WRKSRC}/conf-home ${WRKSRC}/conf-home.orig ${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home @@ -35,4 +31,10 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin .endfor -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${ARCH} == amd64 +CFLAGS+= -fPIC +.endif + +.include <bsd.port.post.mk> |