diff options
author | jdolecek <jdolecek> | 2005-04-03 21:23:15 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2005-04-03 21:23:15 +0000 |
commit | 3039fdea349cf68dd1181911519d9bed20952eca (patch) | |
tree | ccc8a1de8c3310460314824d56a1bb79ddb57633 /emulators/suse_linux | |
parent | a134da1e5663ff071377a5de5690849dbf45baf8 (diff) | |
download | pkgsrc-3039fdea349cf68dd1181911519d9bed20952eca.tar.gz |
put definition of SUSE_VERSION and SUSE_DIR_PREFIX into separate file
vars.mk
Diffstat (limited to 'emulators/suse_linux')
-rw-r--r-- | emulators/suse_linux/Makefile.application | 8 | ||||
-rw-r--r-- | emulators/suse_linux/Makefile.common | 5 | ||||
-rw-r--r-- | emulators/suse_linux/vars.mk | 9 |
3 files changed, 14 insertions, 8 deletions
diff --git a/emulators/suse_linux/Makefile.application b/emulators/suse_linux/Makefile.application index 0b54f3f5adf..bfc0c1b1b61 100644 --- a/emulators/suse_linux/Makefile.application +++ b/emulators/suse_linux/Makefile.application @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.application,v 1.14 2005/01/15 12:41:33 jdolecek Exp $ +# $NetBSD: Makefile.application,v 1.15 2005/04/03 21:23:15 jdolecek Exp $ .include "../../mk/bsd.prefs.mk" @@ -13,11 +13,9 @@ _LINUX_SYSCTL_OSRELEASE?= emul.linux.kern.osrelease LINUX_KERNEL_OSRELEASE!= (/sbin/sysctl -n ${_LINUX_SYSCTL_OSRELEASE} 2>/dev/null; ${ECHO} 2.0.38) | ${HEAD} -1 . if !empty(SUSE_PREFER:M9.1) -SUSE_DIR_PREFIX= suse91 -SUSE_VERSION= 9.1 +. include "../../emulators/suse91_linux/vars.mk" . else -SUSE_DIR_PREFIX= suse -SUSE_VERSION= 7.3 +. include "../../emulators/suse_linux/vars.mk" . endif . if defined(RPMFILES) diff --git a/emulators/suse_linux/Makefile.common b/emulators/suse_linux/Makefile.common index 7ad5d25d44e..f8874a1bb4e 100644 --- a/emulators/suse_linux/Makefile.common +++ b/emulators/suse_linux/Makefile.common @@ -1,7 +1,6 @@ -# $NetBSD: Makefile.common,v 1.20 2004/11/20 12:44:22 rh Exp $ - -SUSE_VERSION= 7.3 +# $NetBSD: Makefile.common,v 1.21 2005/04/03 21:23:15 jdolecek Exp $ +.include "../../emulators/suse_linux/vars.mk" .include "../../emulators/suse_linux/arch.mk" MASTER_SITE_SUSE?= ftp://ftp.suse.com/pub/suse/discontinued/${SUSE_ARCH}/${SUSE_VERSION}/suse/ diff --git a/emulators/suse_linux/vars.mk b/emulators/suse_linux/vars.mk new file mode 100644 index 00000000000..8ed70cc071a --- /dev/null +++ b/emulators/suse_linux/vars.mk @@ -0,0 +1,9 @@ +# $NetBSD: vars.mk,v 1.1 2005/04/03 21:23:15 jdolecek Exp $ + +.ifndef SUSE_VARS_MK +SUSE_VARS_MK=1 + +SUSE_VERSION= 7.3 +SUSE_DIR_PREFIX= suse + +.endif # SUSE_VARS_MK |