summaryrefslogtreecommitdiff
path: root/emulators/suse_linux/Makefile.application
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-11-05 13:46:39 +0000
committerwiz <wiz@pkgsrc.org>2004-11-05 13:46:39 +0000
commite265fbd5771f57b511449249ec689d3af120b09a (patch)
treeb80f58ed72194c01205bd320e65271c84fbc1aab /emulators/suse_linux/Makefile.application
parent416733a71b9681bbd2994321370af2028bb6114e (diff)
downloadpkgsrc-e265fbd5771f57b511449249ec689d3af120b09a.tar.gz
Add a switch SUSE_PREFER which can be set to 9.1 to get
suse91 packages by default.
Diffstat (limited to 'emulators/suse_linux/Makefile.application')
-rw-r--r--emulators/suse_linux/Makefile.application7
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/suse_linux/Makefile.application b/emulators/suse_linux/Makefile.application
index 58039deb6d3..b6b06789229 100644
--- a/emulators/suse_linux/Makefile.application
+++ b/emulators/suse_linux/Makefile.application
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.application,v 1.12 2004/04/23 23:52:42 kristerw Exp $
+# $NetBSD: Makefile.application,v 1.13 2004/11/05 13:46:39 wiz Exp $
.include "../../mk/bsd.prefs.mk"
@@ -16,8 +16,13 @@ LINUX_KERNEL_OSRELEASE!= (/sbin/sysctl -n ${_LINUX_SYSCTL_OSRELEASE} 2>/dev/null
SUSE_DIR_PREFIX= suse64
SUSE_VERSION= 6.4
. else
+. if !empty(SUSE_PREFER:M9.1)
+SUSE_DIR_PREFIX= suse91
+SUSE_VERSION= 9.1
+. else
SUSE_DIR_PREFIX= suse
SUSE_VERSION= 7.3
+. endif
. endif
. if defined(RPMFILES)