diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-16 02:52:36 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-16 02:52:36 +0000 |
commit | 07bac747a7f39cb000e0d79ea5b53d7e03504da8 (patch) | |
tree | fcca12e2824a7bb5ad305bd4f439eabd9da08b64 /databases/jdb | |
parent | d73e537850a990fc304739b2cf1accb171d0cf66 (diff) | |
download | ports-07bac747a7f39cb000e0d79ea5b53d7e03504da8.tar.gz ports-07bac747a7f39cb000e0d79ea5b53d7e03504da8.zip |
Notes
Diffstat (limited to 'databases/jdb')
-rw-r--r-- | databases/jdb/Makefile | 1 | ||||
-rw-r--r-- | databases/jdb/files/patch-Makefile.in | 23 |
2 files changed, 23 insertions, 1 deletions
diff --git a/databases/jdb/Makefile b/databases/jdb/Makefile index 035dcc4a9d8d..fba1cac8e29d 100644 --- a/databases/jdb/Makefile +++ b/databases/jdb/Makefile @@ -13,5 +13,4 @@ USES= perl5 GNU_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --datadir=${PREFIX}/lib/jdb -NO_STAGE= yes .include <bsd.port.mk> diff --git a/databases/jdb/files/patch-Makefile.in b/databases/jdb/files/patch-Makefile.in new file mode 100644 index 000000000000..c97ac4adea88 --- /dev/null +++ b/databases/jdb/files/patch-Makefile.in @@ -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@dblibdir *= *".*"@dblibdir = "$(LIBDIR)"@' -e 's@dbbindir *= *".*"@dbbindir = "$(BINDIR)"@' <$$i >$(BINDIR)/$$i; \ +- chmod +x $(BINDIR)/$$i; \ ++ sed -e "s@$(MYPERL)@$(PERL)@" -e 's@dblibdir *= *".*"@dblibdir = "$(LIBDIR)"@' -e 's@dbbindir *= *".*"@dbbindir = "$(BINDIR)"@' <$$i >$(DESTDIR)$(BINDIR)/$$i; \ ++ chmod +x $(DESTDIR)$(BINDIR)/$$i; \ + done + + install: install_lib install_bin |