summaryrefslogtreecommitdiff
path: root/lang/sun-jre14
diff options
context:
space:
mode:
authorjoerg <joerg>2008-05-26 02:13:14 +0000
committerjoerg <joerg>2008-05-26 02:13:14 +0000
commit2374ca422f2eb8b46ed600c7bb21740b2865d899 (patch)
treeb711f279533efa082bd9211a7161438542a8810d /lang/sun-jre14
parentef56178a4a7ad8f02178aa72c5c4a4567ade918b (diff)
downloadpkgsrc-2374ca422f2eb8b46ed600c7bb21740b2865d899.tar.gz
Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling pax, it is created as tool after all.
Diffstat (limited to 'lang/sun-jre14')
-rw-r--r--lang/sun-jre14/Makefile6
-rw-r--r--lang/sun-jre14/Makefile.common4
2 files changed, 6 insertions, 4 deletions
diff --git a/lang/sun-jre14/Makefile b/lang/sun-jre14/Makefile
index 8574f928f86..6ad4ab23213 100644
--- a/lang/sun-jre14/Makefile
+++ b/lang/sun-jre14/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2008/04/12 22:43:03 jlam Exp $
+# $NetBSD: Makefile,v 1.49 2008/05/26 02:13:21 joerg Exp $
# Note: Regen distinfo with PKG_DEFAULT_OPTIONS+=sun-jre-jce
@@ -10,6 +10,8 @@ COMMENT= Sun's Java(tm) 2 Runtime Environment 1.4.2
SHORT= JRE
+USE_TOOLS+= pax
+
WRKSRC= ${WRKDIR}/j2re1.4.2_17
JAVA_WRAPPERS= java keytool orbd policytool rmid rmiregistry \
servertool tnameserv
@@ -95,7 +97,7 @@ do-configure:
pre-install:
.if !empty(PKG_OPTIONS:Msun-jre-jce)
- cd ${WRKDIR}/jce ; ${PAX} -rw -pe -v . ${WRKSRC}/lib/security
+ cd ${WRKDIR}/jce ; pax -rw -pe -v . ${WRKSRC}/lib/security
.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/sun-jre14/Makefile.common b/lang/sun-jre14/Makefile.common
index fff2b1438fc..92e78327e5a 100644
--- a/lang/sun-jre14/Makefile.common
+++ b/lang/sun-jre14/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.39 2008/01/21 01:39:02 tnn Exp $
+# $NetBSD: Makefile.common,v 1.40 2008/05/26 02:13:21 joerg Exp $
CATEGORIES= lang java
EXTRACT_SUFX= .bin
@@ -60,6 +60,6 @@ post-fetch:
do-install:
${INSTALL_PROGRAM_DIR} ${DESTDIR}${JAVA_HOME}
- cd ${WRKSRC} && ${PAX} -rwp ma . ${DESTDIR}${JAVA_HOME}
+ cd ${WRKSRC} && pax -rwp ma . ${DESTDIR}${JAVA_HOME}
.include "../../mk/java-env.mk"