summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjschauma <jschauma>2002-09-03 19:26:41 +0000
committerjschauma <jschauma>2002-09-03 19:26:41 +0000
commitedbb53092609a7757303bc4a994dde4c7d0c2960 (patch)
tree59a820a53e94070796370589b7cd89359540698a /lang
parent9ec839cb7f3401c1253e9acda17782f2db1378dd (diff)
downloadpkgsrc-edbb53092609a7757303bc4a994dde4c7d0c2960.tar.gz
Make this work on Linux.
Diffstat (limited to 'lang')
-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}