summaryrefslogtreecommitdiff
path: root/emulators/suse_linux
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-04-04 11:55:58 +0000
committertron <tron@pkgsrc.org>2002-04-04 11:55:58 +0000
commit48b55a238d40d1304cfa891b839744b2b87203c7 (patch)
tree786ca7f145643d2a17addb2ffe98a79f3f7de116 /emulators/suse_linux
parent5fb5a277da3beb8ec59b2c6328c5288585743e9f (diff)
downloadpkgsrc-48b55a238d40d1304cfa891b839744b2b87203c7.tar.gz
"Makefile" glue code used by applications to pick up the correct SuSE
packages in dependences.
Diffstat (limited to 'emulators/suse_linux')
-rw-r--r--emulators/suse_linux/Makefile.application23
1 files changed, 23 insertions, 0 deletions
diff --git a/emulators/suse_linux/Makefile.application b/emulators/suse_linux/Makefile.application
new file mode 100644
index 00000000000..f558872641c
--- /dev/null
+++ b/emulators/suse_linux/Makefile.application
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile.application,v 1.1 2002/04/04 11:55:58 tron Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+LINUX_KERNEL_OSRELEASE= 2.0.38
+
+.if (${OPSYS} == NetBSD) && (${MACHINE_ARCH} == i386)
+LINUX_KERNEL_OSRELEASE!= (/sbin/sysctl -n emul.linux.kern.osrelease 2>/dev/null; ${ECHO} 2.0.38) | ${HEAD} -1
+.endif
+
+.if (${LINUX_KERNEL_OSRELEASE} == 2.0.38)
+SUSE_DIR_PREFIX= suse64
+SUSE_VERSION= 6.4
+.else
+SUSE_DIR_PREFIX= suse
+SUSE_VERSION= 7.3
+.endif
+
+.if defined(RPM_FILES)
+.include "../../emulators/${SUSE_DIR_PREFIX}_linux/Makefile.common"
+.else
+.include "../../mk/bsd.pkg.mk"
+.endif