pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/lepton Build uses pthread - include right mak...
details: https://anonhg.NetBSD.org/pkgsrc/rev/127f42d183d7
branches: trunk
changeset: 349917:127f42d183d7
user: agc <agc%pkgsrc.org@localhost>
date: Tue Jul 19 06:04:30 2016 +0000
description:
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.
diffstat:
graphics/lepton/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r fa7cf9608cda -r 127f42d183d7 graphics/lepton/Makefile
--- a/graphics/lepton/Makefile Tue Jul 19 02:12:52 2016 +0000
+++ b/graphics/lepton/Makefile Tue Jul 19 06:04:30 2016 +0000
@@ -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_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 @@
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