summaryrefslogtreecommitdiff
path: root/sysutils/915resolution/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2006-11-13 04:15:02 +0000
committerobache <obache@pkgsrc.org>2006-11-13 04:15:02 +0000
commit2dac5dda4bbaa1d8e30782cb19706e8bd099d680 (patch)
tree32db731c4c6354dea082aaaec8fa592cb92568b0 /sysutils/915resolution/Makefile
parentffab6df01ccf93bb99c11e2a6628424af458f336 (diff)
downloadpkgsrc-2dac5dda4bbaa1d8e30782cb19706e8bd099d680.tar.gz
Support NetBSD/amd64. This should close PR 35044.
Diffstat (limited to 'sysutils/915resolution/Makefile')
-rw-r--r--sysutils/915resolution/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/sysutils/915resolution/Makefile b/sysutils/915resolution/Makefile
index b42674c56a2..653cde34332 100644
--- a/sysutils/915resolution/Makefile
+++ b/sysutils/915resolution/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/06/11 14:03:58 markd Exp $
+# $NetBSD: Makefile,v 1.2 2006/11/13 04:15:02 obache Exp $
#
DISTNAME= 915resolution-0.5.2
@@ -9,10 +9,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.geocities.com/stomljen/
COMMENT= BIOS VESA resolution utility for 8XX/9XX Intel chips
-ONLY_FOR_PLATFORM= NetBSD-*-i386
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-x86_64 Linux-*-i386
USE_TOOLS+= gmake
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+MAKE_ENV+= LDLIBS=-l${MACHINE_ARCH}
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/915resolution
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/915resolution