pkgsrc-WIP-changes archive

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

dspdfviewer: Added support for clang / clang++ builds (in FreeBSD 11.1).



Module Name:	pkgsrc-wip
Committed By:	fox <santhosh.raju%gmail.com@localhost>
Pushed By:	fox
Date:		Sun Jun 17 23:29:04 2018 +0530
Changeset:	c3dd9fd347c612a8814895523e0bbaad88bf6b9e

Modified Files:
	dspdfviewer/Makefile

Log Message:
dspdfviewer: Added support for clang / clang++ builds (in FreeBSD 11.1).

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

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

diffstat:
 dspdfviewer/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diffs:
diff --git a/dspdfviewer/Makefile b/dspdfviewer/Makefile
index 3c936356f3..dee9c53001 100644
--- a/dspdfviewer/Makefile
+++ b/dspdfviewer/Makefile
@@ -20,6 +20,12 @@ CONFIGURE_DIRS=		build
 CMAKE_ARG_PATH=		..
 BUILD_MAKE_FLAGS+=	VERBOSE=1
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "FreeBSD"
+CFLAGS+=		-Wno-error=undefined-func-template
+.endif
+
 pre-configure:
 	mkdir -p ${WRKSRC}/build
 


Home | Main Index | Thread Index | Old Index