diff options
author | wiedi <wiedi@pkgsrc.org> | 2014-02-26 10:31:40 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2014-02-26 10:31:40 +0000 |
commit | 9eaea48620ff1c51df55acf8e051fc01af917e3e (patch) | |
tree | a8bf3291ebf1e719927bd36ad76580154f6101dd /sysutils | |
parent | a450ca7de3e2cc48b7e15ff1b6bc3a98e4b1434d (diff) | |
download | pkgsrc-9eaea48620ff1c51df55acf8e051fc01af917e3e.tar.gz |
Adjust path to pci.h in the same way as on netbsd and link network libs on SunOS
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/flashrom/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/flashrom/Makefile b/sysutils/flashrom/Makefile index bbea3b02464..9ca00a76032 100644 --- a/sysutils/flashrom/Makefile +++ b/sysutils/flashrom/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2013/12/09 18:54:24 jakllsch Exp $ +# $NetBSD: Makefile,v 1.8 2014/02/26 10:31:40 wiedi Exp $ # DISTNAME= flashrom-0.9.7 @@ -20,7 +20,7 @@ USE_TOOLS+= gmake pkg-config DEPENDS+= dmidecode-[0-9]*:../../sysutils/dmidecode .endif -.if ${OPSYS} == "NetBSD" +.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" SUBST_CLASSES+= pciutils SUBST_FILES.pciutils= Makefile @@ -34,6 +34,11 @@ CPPFLAGS+= -I/${PREFIX}/include .endif +LDFLAGS.SunOS+= -lsocket -lnsl +.if ${OPSYS} == "SunOS" +MAKE_ENV+= WARNERROR=0 +.endif + INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 do-install: |