summaryrefslogtreecommitdiff
path: root/sysutils/vbetool
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2007-08-08 15:55:28 +0000
committerxtraeme <xtraeme@pkgsrc.org>2007-08-08 15:55:28 +0000
commit14758cf610105f43b147dcd67d561ff2b7d33f47 (patch)
tree4ccd6379d6fb17a2f5dc5c9958c898a4e77b3695 /sysutils/vbetool
parent99551176e212e404bf39b273ea9491c1647ef997 (diff)
downloadpkgsrc-14758cf610105f43b147dcd67d561ff2b7d33f47.tar.gz
Simplify LIBS.NetBSD.
Diffstat (limited to 'sysutils/vbetool')
-rw-r--r--sysutils/vbetool/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/sysutils/vbetool/Makefile b/sysutils/vbetool/Makefile
index 2899030e145..d54757a34e6 100644
--- a/sysutils/vbetool/Makefile
+++ b/sysutils/vbetool/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/08/08 12:36:37 xtraeme Exp $
+# $NetBSD: Makefile,v 1.3 2007/08/08 15:55:28 xtraeme Exp $
#
DISTNAME= vbetool_0.7-1
@@ -19,13 +19,8 @@ CONFIGURE_ARGS= --with-x86emu
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD"
-. if ${MACHINE_ARCH} == "i386"
-LIBS.NetBSD+= -li386
-. else
-LIBS.NetBSD+= -lx86_64
-. endif
-.endif
+# This gives us libi386 and libx86_64.
+LIBS.NetBSD+= -l${MACHINE_ARCH}
.include "../../sysutils/pciutils/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"