From owner-svn-ports-all@FreeBSD.ORG Fri May 16 02:52:36 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E3033A9D; Fri, 16 May 2014 02:52:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B5EDB2D59; Fri, 16 May 2014 02:52:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4G2qaLL061685; Fri, 16 May 2014 02:52:36 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4G2qadv061683; Fri, 16 May 2014 02:52:36 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201405160252.s4G2qadv061683@svn.freebsd.org> From: "Vanilla I. Shu" Date: Fri, 16 May 2014 02:52:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354190 - in head/databases/jdb: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2014 02:52:37 -0000 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 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@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