summaryrefslogtreecommitdiff
path: root/lang/sun-jre13/Makefile
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-06-12 11:18:49 +0000
committerabs <abs@pkgsrc.org>2001-06-12 11:18:49 +0000
commit8416210ac4e94c0282f972f87cf562c7d778141d (patch)
treebf002b79ef29bf3e5ff3f300802e09221e0ed977 /lang/sun-jre13/Makefile
parent60ffab8ff2d35ba4beca3019a8bb283cfa168634 (diff)
downloadpkgsrc-8416210ac4e94c0282f972f87cf562c7d778141d.tar.gz
shuffle the order of the linux check to ensure suse_x11 picked up on NetBSD
Diffstat (limited to 'lang/sun-jre13/Makefile')
-rw-r--r--lang/sun-jre13/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/lang/sun-jre13/Makefile b/lang/sun-jre13/Makefile
index b656430d87c..448279a8cc4 100644
--- a/lang/sun-jre13/Makefile
+++ b/lang/sun-jre13/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/06/11 21:58:03 abs Exp $
+# $NetBSD: Makefile,v 1.10 2001/06/12 11:18:49 abs Exp $
#
# MASTER_SITES is very special, and must end in "=":
@@ -27,6 +27,11 @@ NO_BIN_ON_FTP= ${RESTRICTED}
.include "../../mk/bsd.prefs.mk"
+# Needs to be after bsd.prefs.mk
+.if ${OPSYS} != "Linux"
+DEPENDS+= suse_x11-*:../../emulators/suse_x11
+.endif
+
.if !defined(JDK_HOME)
JDK_HOME:= ${LOCALBASE}/java
.endif
@@ -60,10 +65,6 @@ do-install:
PATCHDIR= ${WRKDIR}/.patches
pre-patch:
${MKDIR} ${PATCHDIR}
-
-.else
-DEPENDS= suse_x11-*:../../emulators/suse_x11
-
.endif
PREFIX:= ${JDK_HOME}