summaryrefslogtreecommitdiff
path: root/converters/libmwaw/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-09-17 21:17:43 +0000
committerjoerg <joerg@pkgsrc.org>2013-09-17 21:17:43 +0000
commit59bb54c3e5100a316a473eb0adfd1b2ce3515488 (patch)
treeeec574cf16857e55064919498e4f460afe88dfd5 /converters/libmwaw/Makefile
parent1cca8a147d9b3e6c955cac86dbab4cd54f2e6847 (diff)
downloadpkgsrc-59bb54c3e5100a316a473eb0adfd1b2ce3515488.tar.gz
Update to 0.1.11 to fix the build with Clang due to a broken text
manipulation. Changes include: - Improved support for various inputs. - Refactorting - Bug fixes
Diffstat (limited to 'converters/libmwaw/Makefile')
-rw-r--r--converters/libmwaw/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/converters/libmwaw/Makefile b/converters/libmwaw/Makefile
index 823b3aea203..87c63181ecd 100644
--- a/converters/libmwaw/Makefile
+++ b/converters/libmwaw/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2013/08/24 16:09:56 jaapb Exp $
+# $NetBSD: Makefile,v 1.2 2013/09/17 21:17:43 joerg Exp $
-DISTNAME= libmwaw-0.1.10
+DISTNAME= libmwaw-0.1.11
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmwaw/}
EXTRACT_SUFX= .tar.xz
@@ -10,12 +10,19 @@ HOMEPAGE= http://sourceforge.net/p/libmwaw/wiki/Home/
COMMENT= Import library for pre-OSX Mac text formats
LICENSE= mpl-2.0 OR gnu-lgpl-v2
-WRKSRC= ${WRKDIR}/libmwaw-0.1.10
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c++
-CONFIGURE_ARGS+= --with-sharedptr=tr1 --without-docs
+
+CONFIGURE_ARGS+= --without-docs
+
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CONFIGURE_ARGS+= --with-sharedptr=c++11
+.else
+CONFIGURE_ARGS+= --with-sharedptr=tr1
+.endif
PKGCONFIG_OVERRIDE+= libmwaw.pc.in