aboutsummaryrefslogtreecommitdiff
path: root/databases/cdb
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2006-02-21 07:55:35 +0000
committerSean Chittenden <seanc@FreeBSD.org>2006-02-21 07:55:35 +0000
commit09e4d41a9986792168251744ace0ad7ac1b2f467 (patch)
treefce88f2db181c041d8652dab558473247f0d44a6 /databases/cdb
parent32be164d0565c3e7182964663acd84d5ee6bb4e6 (diff)
downloadports-09e4d41a9986792168251744ace0ad7ac1b2f467.tar.gz
ports-09e4d41a9986792168251744ace0ad7ac1b2f467.zip
Unbork for non-slave builds.
Notes
Notes: svn path=/head/; revision=156560
Diffstat (limited to 'databases/cdb')
-rw-r--r--databases/cdb/Makefile12
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>