pkgsrc-WIP-changes archive

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

openh264: needs nasm on x86



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Mon Sep 28 02:43:45 2015 +0200
Changeset:	58d3fc9454d72031ee4e0415f22c76124ba4a1a6

Modified Files:
	openh264/Makefile

Log Message:
openh264: needs nasm on x86

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=58d3fc9454d72031ee4e0415f22c76124ba4a1a6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 openh264/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diffs:
diff --git a/openh264/Makefile b/openh264/Makefile
index e06d07e..70346a7 100644
--- a/openh264/Makefile
+++ b/openh264/Makefile
@@ -15,6 +15,7 @@ LICENSE=	2-clause-bsd
 USE_TOOLS+=	gmake pkg-config
 USE_LANGUAGES=	c c++
 
+
 BUILD_TARGET=		all plugin
 PKGCONFIG_OVERRIDE+=	openh264.pc.in
 
@@ -36,6 +37,12 @@ SUBST_VARS.jsvars+=	LASTUPDATE_TIMESTAMP
 
 LASTUPDATE_TIMESTAMP!=	date +%s
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+BUILD_DEPENDS+=		nasm>=2.07:../../devel/nasm
+.endif
+
 post-extract:
 	cp ${WRKSRC}/build/platform-freebsd.mk		\
 		${WRKSRC}/build/platform-netbsd.mk


Home | Main Index | Thread Index | Old Index