summaryrefslogtreecommitdiff
path: root/emulators/suse_linux/Makefile.application
diff options
context:
space:
mode:
authortron <tron>2002-04-04 11:55:58 +0000
committertron <tron>2002-04-04 11:55:58 +0000
commitf3f66c771e284e20b626353259c8c95ccb89ad23 (patch)
tree786ca7f145643d2a17addb2ffe98a79f3f7de116 /emulators/suse_linux/Makefile.application
parent6c0617a378b4981e91e41ca0ff143ad185604c18 (diff)
downloadpkgsrc-f3f66c771e284e20b626353259c8c95ccb89ad23.tar.gz
"Makefile" glue code used by applications to pick up the correct SuSE
packages in dependences.
Diffstat (limited to 'emulators/suse_linux/Makefile.application')
-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