svn commit: r354190 - in head/databases/jdb: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Fri May 16 02:52:37 UTC 2014
Author: vanilla
Date: Fri May 16 02:52:36 2014
New Revision: 354190
URL: http://svnweb.freebsd.org/changeset/ports/354190
QAT: https://qat.redports.org/buildarchive/r354190/
Log:
Support STAGEDIR.
Approved by: portmgr@
Added:
head/databases/jdb/files/patch-Makefile.in (contents, props changed)
Modified:
head/databases/jdb/Makefile
Modified: head/databases/jdb/Makefile
==============================================================================
--- head/databases/jdb/Makefile Fri May 16 02:44:55 2014 (r354189)
+++ head/databases/jdb/Makefile Fri May 16 02:52:36 2014 (r354190)
@@ -13,5 +13,4 @@ USES= perl5
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --datadir=${PREFIX}/lib/jdb
-NO_STAGE= yes
.include <bsd.port.mk>
Added: head/databases/jdb/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/jdb/files/patch-Makefile.in Fri May 16 02:52:36 2014 (r354190)
@@ -0,0 +1,23 @@
+--- Makefile.in.orig 2006-08-25 13:32:28.000000000 +0800
++++ Makefile.in 2014-05-16 10:48:32.130238965 +0800
+@@ -99,15 +99,15 @@ all:
+
+
+ install_lib:
+- test -d $(LIBDIR) || mkdir $(LIBDIR)
+- for i in $(LIBFILES); do echo $$i; cp $$i $(LIBDIR); done
++ test -d $(DESTDIR)$(LIBDIR) || mkdir $(DESTDIR)$(LIBDIR)
++ for i in $(LIBFILES); do echo $$i; cp $$i $(DESTDIR)$(LIBDIR); done
+
+ install_bin:
+- test -d $(BINDIR) || mkdir $(BINDIR)
++ test -d $(DESTDIR)$(BINDIR) || mkdir $(DESTDIR)$(BINDIR)
+ for i in $(BINFILES); do \
+ echo $$i; \
+- sed -e "s@$(MYPERL)@$(PERL)@" -e 's at dblibdir *= *".*"@dblibdir = "$(LIBDIR)"@' -e 's at dbbindir *= *".*"@dbbindir = "$(BINDIR)"@' <$$i >$(BINDIR)/$$i; \
+- chmod +x $(BINDIR)/$$i; \
++ sed -e "s@$(MYPERL)@$(PERL)@" -e 's at dblibdir *= *".*"@dblibdir = "$(LIBDIR)"@' -e 's at dbbindir *= *".*"@dbbindir = "$(BINDIR)"@' <$$i >$(DESTDIR)$(BINDIR)/$$i; \
++ chmod +x $(DESTDIR)$(BINDIR)/$$i; \
+ done
+
+ install: install_lib install_bin
More information about the svn-ports-head
mailing list