aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-06-08 05:21:33 +0800
committerantoine <antoine@FreeBSD.org>2014-06-08 05:21:33 +0800
commit79c755450a5b944a753a9a847fb34400c02ce8e3 (patch)
tree95a71711a9d76d75a660fb2637bc189d173b951a
parent4c1ee66f59ed1854630aa35aab014f59ceb4e996 (diff)
downloadfreebsd-ports-gnome-79c755450a5b944a753a9a847fb34400c02ce8e3.tar.gz
freebsd-ports-gnome-79c755450a5b944a753a9a847fb34400c02ce8e3.tar.zst
freebsd-ports-gnome-79c755450a5b944a753a9a847fb34400c02ce8e3.zip
Allow staging as a regular user
-rw-r--r--graphics/scr2png/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/scr2png/Makefile b/graphics/scr2png/Makefile
index 2de0ead8982d..3868099b0374 100644
--- a/graphics/scr2png/Makefile
+++ b/graphics/scr2png/Makefile
@@ -14,9 +14,10 @@ COMMENT= Converts the output of "vidcontrol -p" to PNG
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
NO_WRKSUBDIR= yes
+USES= uidfix
+MAKE_ARGS= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}
PLIST_FILES= bin/scr2png man/man1/scr2png.1.gz
-MAKE_ARGS= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}
pre-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile