aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-10 02:37:54 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-10 02:37:54 +0000
commit09f37da63dda11a479d66fe9fb36b468eeb60000 (patch)
tree716e762799178ec25a60d8c0c61ae0a3cfce6880 /palm
parentaffe10028a8fd32bd4866da829c08b2fa3059931 (diff)
downloadports-09f37da63dda11a479d66fe9fb36b468eeb60000.tar.gz
ports-09f37da63dda11a479d66fe9fb36b468eeb60000.zip
Notes
Diffstat (limited to 'palm')
-rw-r--r--palm/palm-db-tools/Makefile1
-rw-r--r--palm/palm-db-tools/files/patch-flatfile-Makefile.in17
2 files changed, 17 insertions, 1 deletions
diff --git a/palm/palm-db-tools/Makefile b/palm/palm-db-tools/Makefile
index 5e2afaefc243..e03306499521 100644
--- a/palm/palm-db-tools/Makefile
+++ b/palm/palm-db-tools/Makefile
@@ -19,7 +19,6 @@ PLIST_FILES= lib/libpdbtools.so \
bin/csv2pdb \
bin/pdb2csv
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|-Wno-deprecated|& -fPIC -DPIC|" \
${WRKSRC}/libflatfile/Makefile.in ${WRKSRC}/libpalm/Makefile.in \
diff --git a/palm/palm-db-tools/files/patch-flatfile-Makefile.in b/palm/palm-db-tools/files/patch-flatfile-Makefile.in
new file mode 100644
index 000000000000..46e8d92ff958
--- /dev/null
+++ b/palm/palm-db-tools/files/patch-flatfile-Makefile.in
@@ -0,0 +1,17 @@
+--- flatfile/Makefile.in.orig 2014-06-10 10:35:56.370537068 +0800
++++ flatfile/Makefile.in 2014-06-10 10:36:30.106537760 +0800
+@@ -95,10 +95,10 @@ distrib: $(ALL)
+ strip $(ALL)
+
+ install: all
+- $(INSTALL) -d $(bindir)
+- $(INSTALL) -d $(libdir)
+- $(INSTALL) -s $(TARGETS) $(libdir)
+- $(INSTALL) -s $(PROGRAMS:%=%$(EXEEXT)) $(bindir)
++ $(INSTALL) -d $(DESTDIR)$(bindir)
++ $(INSTALL) -d $(DESTDIR)$(libdir)
++ $(INSTALL) -s $(TARGETS) $(DESTDIR)$(libdir)
++ $(INSTALL) -s $(PROGRAMS:%=%$(EXEEXT)) $(DESTDIR)$(bindir)
+
+ .SUFFIXES:
+ .SUFFIXES: .c .cpp .lo .o .obj