diff options
author | abs <abs> | 2001-06-11 21:58:03 +0000 |
---|---|---|
committer | abs <abs> | 2001-06-11 21:58:03 +0000 |
commit | e117f17f0c947e8df9504d9f90802a0c88a56684 (patch) | |
tree | 6d2533aa8059b1c09c9cf45e0dcf21cefaf25417 /lang | |
parent | ee046396e47623c014e0f007685f5f34923ab6cb (diff) | |
download | pkgsrc-e117f17f0c947e8df9504d9f90802a0c88a56684.tar.gz |
Skip the patches and suse_x11 on Linux
Diffstat (limited to 'lang')
-rw-r--r-- | lang/sun-jdk13/Makefile | 12 | ||||
-rw-r--r-- | lang/sun-jre13/Makefile | 11 |
2 files changed, 19 insertions, 4 deletions
diff --git a/lang/sun-jdk13/Makefile b/lang/sun-jdk13/Makefile index 460ef999c4a..034ff149198 100644 --- a/lang/sun-jdk13/Makefile +++ b/lang/sun-jdk13/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/05/19 03:56:37 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2001/06/11 21:58:03 abs Exp $ # # MASTER_SITES is very special, and must end in "=": @@ -58,5 +58,13 @@ do-install: .include "../../mk/bsd.pkg.mk" -# This needs to be after bsd.pkg.mk +# These need to be after bsd.pkg.mk + +.if ${OPSYS} == "Linux" +# No patches on linux +PATCHDIR= ${WRKDIR}/.patches +pre-patch: + ${MKDIR} ${PATCHDIR} +.endif + PREFIX:= ${JDK_HOME} diff --git a/lang/sun-jre13/Makefile b/lang/sun-jre13/Makefile index 21ff987b71a..b656430d87c 100644 --- a/lang/sun-jre13/Makefile +++ b/lang/sun-jre13/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/05/19 03:56:37 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2001/06/11 21:58:03 abs Exp $ # # MASTER_SITES is very special, and must end in "=": @@ -55,8 +55,15 @@ do-install: # These need to be after bsd.pkg.mk -.if ${OPSYS} != "Linux" +.if ${OPSYS} == "Linux" +# No patches on linux +PATCHDIR= ${WRKDIR}/.patches +pre-patch: + ${MKDIR} ${PATCHDIR} + +.else DEPENDS= suse_x11-*:../../emulators/suse_x11 + .endif PREFIX:= ${JDK_HOME} |