diff options
author | joerg <joerg> | 2013-09-17 21:15:06 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-09-17 21:15:06 +0000 |
commit | e4a1ed5a205890c0f01da8a2a7c5568e75669964 (patch) | |
tree | 4d503e2be3d5f03e3b5f0b5421d3e594f42f1aca | |
parent | 89f131a299581e93d5e3a8d7350d7746a1213e43 (diff) | |
download | pkgsrc-e4a1ed5a205890c0f01da8a2a7c5568e75669964.tar.gz |
Use C++11 shared_ptr with clang.
-rw-r--r-- | textproc/libodfgen/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/textproc/libodfgen/Makefile b/textproc/libodfgen/Makefile index aeaf4370bd6..4e45269185c 100644 --- a/textproc/libodfgen/Makefile +++ b/textproc/libodfgen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2013/08/24 16:17:12 jaapb Exp $ +# $NetBSD: Makefile,v 1.2 2013/09/17 21:15:06 joerg Exp $ DISTNAME= libodfgen-0.0.2 CATEGORIES= textproc @@ -12,13 +12,19 @@ COMMENT= Library to generate ODF documents through libwpd and libwps LICENSE= mpl-2.0 OR gnu-lgpl-v2 GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-sharedptr=tr1 USE_LIBTOOL= yes USE_TOOLS+= pkg-config USE_LANGUAGES= c c++ PKGCONFIG_OVERRIDE+= libodfgen.pc.in +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CONFIGURE_ARGS+= --with-sharedptr=c++11 +.else +CONFIGURE_ARGS+= --with-sharedptr=tr1 +.endif + .include "../../converters/libwpd/buildlink3.mk" .include "../../converters/libwpg/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |