aboutsummaryrefslogtreecommitdiffstats
path: root/java/openjdk6
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2010-11-01 04:47:07 +0800
committerglewis <glewis@FreeBSD.org>2010-11-01 04:47:07 +0800
commit2dd5ece4031e8d0b81e2349bc79723d45b2a444f (patch)
tree21242b49f29b8c160e544e74a736cd675aa414e7 /java/openjdk6
parenta14113eef8a2bcf2313bc7a09557504c651f7bc3 (diff)
downloadfreebsd-ports-gnome-2dd5ece4031e8d0b81e2349bc79723d45b2a444f.tar.gz
freebsd-ports-gnome-2dd5ece4031e8d0b81e2349bc79723d45b2a444f.tar.zst
freebsd-ports-gnome-2dd5ece4031e8d0b81e2349bc79723d45b2a444f.zip
. Set LIBOWN and LIBGRP to the current user's uid and gid to allow building
of the plugin by non-root users.
Diffstat (limited to 'java/openjdk6')
-rw-r--r--java/openjdk6/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/openjdk6/Makefile b/java/openjdk6/Makefile
index 250cc63ba7cf..146ce4f70c81 100644
--- a/java/openjdk6/Makefile
+++ b/java/openjdk6/Makefile
@@ -251,6 +251,8 @@ post-build:
${MAKE} -f ${FILESDIR}/Makefile.plugin depend all install \
DEBUG_FLAGS="${ICEDTEA_DEBUG_FLAGS}" \
LIBDIR=${ICEDTEADIR}/build/lib \
+ LIBOWN=${UID} \
+ LIBGRP=`${ID} -g` \
LOCALBASE=${LOCALBASE} \
JDK_UPDATE_VERSION=${PORTVERSION:S/^b//} \
PLUGIN_VERSION="OpenJDK6 ${PORTVERSION}" \