pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/lepton
Module Name: pkgsrc
Committed By: agc
Date: Tue Jul 19 06:04:30 UTC 2016
Modified Files:
pkgsrc/graphics/lepton: Makefile
Log Message:
Build uses pthread - include right makefile fragment
Attempt to pre-empt joerg and specify c++11 as the base if clang is used
as the compiler.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/lepton/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/lepton/Makefile
diff -u pkgsrc/graphics/lepton/Makefile:1.1 pkgsrc/graphics/lepton/Makefile:1.2
--- pkgsrc/graphics/lepton/Makefile:1.1 Tue Jul 19 02:11:51 2016
+++ pkgsrc/graphics/lepton/Makefile Tue Jul 19 06:04:30 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/07/19 02:11:51 agc Exp $
+# $NetBSD: Makefile,v 1.2 2016/07/19 06:04:30 agc Exp $
DISTNAME= lepton-1.2.1
CATEGORIES= graphics
@@ -15,6 +15,12 @@ USE_LIBTOOL= yes
USE_LANGUAGES+= c c++
USE_TOOLS+= autoconf autoreconf automake gmake makeinfo
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang)
+CXXFLAGS+= -std=c++11
+.endif
+
AUTO_MKDIRS= yes
pre-configure:
@@ -23,4 +29,6 @@ pre-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lepton ${DESTDIR}${PREFIX}/bin
+.include "../../mk/pthread.buildlink3.mk"
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index