pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/vbetool Simplify LIBS.NetBSD.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c90ee3206cb
branches:  trunk
changeset: 531897:1c90ee3206cb
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Wed Aug 08 15:55:28 2007 +0000

description:
Simplify LIBS.NetBSD.

diffstat:

 sysutils/vbetool/Makefile |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (25 lines):

diff -r e099e5277bec -r 1c90ee3206cb sysutils/vbetool/Makefile
--- a/sysutils/vbetool/Makefile Wed Aug 08 15:48:19 2007 +0000
+++ b/sysutils/vbetool/Makefile Wed Aug 08 15:55:28 2007 +0000
@@ -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 @@
 
 .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"



Home | Main Index | Thread Index | Old Index