diff options
author | agc <agc@pkgsrc.org> | 2016-07-19 06:04:30 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2016-07-19 06:04:30 +0000 |
commit | b84379cb2f930a411c0f2be24a357604ab8160da (patch) | |
tree | b0cecc1c80fcac4a6ba9cd6fc5878c71e1021a81 /graphics | |
parent | 205bc0aa8e719d3bb3db5b20760fa51e1dae8227 (diff) | |
download | pkgsrc-b84379cb2f930a411c0f2be24a357604ab8160da.tar.gz |
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 (limited to 'graphics')
-rw-r--r-- | graphics/lepton/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/lepton/Makefile b/graphics/lepton/Makefile index 998276f94a0..9b9970c1f80 100644 --- a/graphics/lepton/Makefile +++ b/graphics/lepton/Makefile @@ -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" |