pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/suse_linux Remove unused variables.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f186d792ead0
branches:  trunk
changeset: 493173:f186d792ead0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Apr 28 22:33:36 2005 +0000

description:
Remove unused variables.

diffstat:

 emulators/suse_linux/Makefile.application |  13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diffs (23 lines):

diff -r c18a8f034f30 -r f186d792ead0 emulators/suse_linux/Makefile.application
--- a/emulators/suse_linux/Makefile.application Thu Apr 28 22:29:43 2005 +0000
+++ b/emulators/suse_linux/Makefile.application Thu Apr 28 22:33:36 2005 +0000
@@ -1,16 +1,9 @@
-# $NetBSD: Makefile.application,v 1.15 2005/04/03 21:23:15 jdolecek Exp $
+# $NetBSD: Makefile.application,v 1.16 2005/04/28 22:33:36 jlam Exp $
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "FreeBSD"
-_LINUX_SYSCTL_OSRELEASE?=              compat.linux.osrelease
-.else
-_LINUX_SYSCTL_OSRELEASE?=              emul.linux.kern.osrelease
-.endif
-
-.if ((${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && \
-       (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc"))
-LINUX_KERNEL_OSRELEASE!=       (/sbin/sysctl -n ${_LINUX_SYSCTL_OSRELEASE} 2>/dev/null; ${ECHO} 2.0.38) | ${HEAD} -1
+.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && \
+    (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc")
 
 .  if !empty(SUSE_PREFER:M9.1)
 .    include "../../emulators/suse91_linux/vars.mk"



Home | Main Index | Thread Index | Old Index