aboutsummaryrefslogtreecommitdiffstats
path: root/databases/cdb
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2006-02-21 15:55:35 +0800
committerseanc <seanc@FreeBSD.org>2006-02-21 15:55:35 +0800
commite5fca62a504f3b17e0714d2fcfe001b3ec7ae669 (patch)
treeafb9c86edc945a0229a3efb01d136524e37a408d /databases/cdb
parentccfd9dfe6f118bb131627c04d0b00597c82943ee (diff)
downloadfreebsd-ports-gnome-e5fca62a504f3b17e0714d2fcfe001b3ec7ae669.tar.gz
freebsd-ports-gnome-e5fca62a504f3b17e0714d2fcfe001b3ec7ae669.tar.zst
freebsd-ports-gnome-e5fca62a504f3b17e0714d2fcfe001b3ec7ae669.zip
Unbork for non-slave builds.
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>