summaryrefslogtreecommitdiff
path: root/lang/sun-jre13
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2002-09-03 19:26:41 +0000
committerjschauma <jschauma@pkgsrc.org>2002-09-03 19:26:41 +0000
commit8cf8016bea629e5aa6178670c28297b9ce6d8835 (patch)
tree59a820a53e94070796370589b7cd89359540698a /lang/sun-jre13
parente9e73293b9228eb08c8a7a8f7c06fe171ecb4d19 (diff)
downloadpkgsrc-8cf8016bea629e5aa6178670c28297b9ce6d8835.tar.gz
Make this work on Linux.
Diffstat (limited to 'lang/sun-jre13')
-rw-r--r--lang/sun-jre13/Makefile.common19
1 files changed, 9 insertions, 10 deletions
diff --git a/lang/sun-jre13/Makefile.common b/lang/sun-jre13/Makefile.common
index 7b84ba804f5..05d30ad98ba 100644
--- a/lang/sun-jre13/Makefile.common
+++ b/lang/sun-jre13/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2002/07/28 14:39:04 schmonz Exp $
+# $NetBSD: Makefile.common,v 1.5 2002/09/03 19:26:41 jschauma Exp $
# MASTER_SITES is very special, and must end in "=":
CATEGORIES= lang
@@ -62,19 +62,18 @@ do-install:
cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}
. endif
-.if ${OPSYS} == "Darwin"
-.include "../../mk/bsd.pkg.mk"
-.else
-.include "../../emulators/suse_linux/Makefile.application"
-.endif
-
# These need to be after bsd.pkg.mk
.if ${OPSYS} == "Linux"
# No patches on linux
-PATCHDIR= ${WRKDIR}/.patches
-pre-patch:
- ${MKDIR} ${PATCHDIR}
+NO_PATCH= #defined
.endif
+.if ${OPSYS} == "Darwin" || ${OPSYS} == "Linux"
+.include "../../mk/bsd.pkg.mk"
+.elif ${OPSYS} != "Linux"
+.include "../../emulators/suse_linux/Makefile.application"
+.endif
+
+
PREFIX:= ${JDK_HOME}