aboutsummaryrefslogtreecommitdiff
path: root/palm/palm-db-tools
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-06-06 13:31:05 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-06-06 13:31:05 +0000
commit9cb65ef1329a9fc6fbc9670e1d31f3f3ef365ff8 (patch)
treec110b094af0ec2dd10e5cfa662f2891a5f0c908e /palm/palm-db-tools
parentcad484f4ce93d1f0a502263d53556c4612ee8fd4 (diff)
downloadports-9cb65ef1329a9fc6fbc9670e1d31f3f3ef365ff8.tar.gz
ports-9cb65ef1329a9fc6fbc9670e1d31f3f3ef365ff8.zip
Notes
Diffstat (limited to 'palm/palm-db-tools')
-rw-r--r--palm/palm-db-tools/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/palm/palm-db-tools/Makefile b/palm/palm-db-tools/Makefile
index 39c6b6921f1b..1d8676391fc7 100644
--- a/palm/palm-db-tools/Makefile
+++ b/palm/palm-db-tools/Makefile
@@ -24,10 +24,9 @@ PLIST_FILES= lib/libpdbtools.so \
bin/csv2pdb \
bin/pdb2csv
-.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e "s|-Wno-deprecated|& -fPIC -DPIC|" \
+ ${WRKSRC}/libflatfile/Makefile.in ${WRKSRC}/libpalm/Makefile.in \
+ ${WRKSRC}/libsupport/Makefile.in ${WRKSRC}/flatfile/Makefile.in
-.if ${ARCH} == "amd64"
-BROKEN= Does not build on amd64
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>