summaryrefslogtreecommitdiff
path: root/converters/libmwaw/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2013-09-17 21:17:43 +0000
committerjoerg <joerg>2013-09-17 21:17:43 +0000
commit3c12c9c7658a804465cac8fc9f29d465bdb924c1 (patch)
treeeec574cf16857e55064919498e4f460afe88dfd5 /converters/libmwaw/Makefile
parent1ea17188f72c9b4a105b6612910eba731bb42e07 (diff)
downloadpkgsrc-3c12c9c7658a804465cac8fc9f29d465bdb924c1.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