summaryrefslogtreecommitdiff
path: root/sysutils
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
commite7aa617b270e68afef3a2587c69e5408f75696c5 (patch)
tree4ccd6379d6fb17a2f5dc5c9958c898a4e77b3695 /sysutils
parentd7189e3a03b49872bd13c3ad6424267e4eea711b (diff)
downloadpkgsrc-e7aa617b270e68afef3a2587c69e5408f75696c5.tar.gz
Simplify LIBS.NetBSD.
Diffstat (limited to 'sysutils')
-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"