diff options
author | beech <beech@FreeBSD.org> | 2010-11-15 17:33:03 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2010-11-15 17:33:03 +0800 |
commit | 8cfdbf78026e28176f47ba4ef234b2a481a0d22d (patch) | |
tree | 1c6f68a4d31a431afbda991d07540ac6fb6d52a0 /ports-mgmt/portupgrade-devel | |
parent | 5a27741527356b7f8a6b4e65861632f2ffdd5d2e (diff) | |
download | freebsd-ports-graphics-8cfdbf78026e28176f47ba4ef234b2a481a0d22d.tar.gz freebsd-ports-graphics-8cfdbf78026e28176f47ba4ef234b2a481a0d22d.tar.zst freebsd-ports-graphics-8cfdbf78026e28176f47ba4ef234b2a481a0d22d.zip |
Respect base
PR: 146858
Submitted by: Anonymous <swell.k@gmail.com>
Approved by: dinoex
Diffstat (limited to 'ports-mgmt/portupgrade-devel')
-rw-r--r-- | ports-mgmt/portupgrade-devel/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index 0a29885babd..5af831cca3c 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -83,6 +83,10 @@ pre-extract: @exit 1 .endif +post-patch: .SILENT + ${REINPLACE_CMD} '/PREFIX/s:\(=[[:space:]]*\)\(.*/usr/local\):\1ENV["LOCALBASE"] || \2:' \ + ${WRKSRC}/lib/pkgdb.rb ${WRKSRC}/lib/pkgtools.rb + post-install: if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \ ${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \ |