summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-01-29 14:46:48 +0000
committeradam <adam@pkgsrc.org>2011-01-29 14:46:48 +0000
commit30ad949ad394ba8e13321eaaa0dfcfa3afa7d625 (patch)
tree5815308cb6b5d81de860f2459f184798f0d81d23 /graphics
parent76c3e0e5f8d338b49ab41a2e32ef3dec17e92b41 (diff)
downloadpkgsrc-30ad949ad394ba8e13321eaaa0dfcfa3afa7d625.tar.gz
Fix buildling with clang
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libxmi/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/libxmi/Makefile b/graphics/libxmi/Makefile
index 30272a0c138..443319bafe2 100644
--- a/graphics/libxmi/Makefile
+++ b/graphics/libxmi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/09/01 14:33:39 adam Exp $
+# $NetBSD: Makefile,v 1.2 2011/01/29 14:46:48 adam Exp $
DISTNAME= libxmi-1.2
CATEGORIES= graphics
@@ -7,14 +7,23 @@ MASTER_SITES= ${MASTER_SITE_GNU:=libxmi/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/libxmi/
COMMENT= C/C++ function library for rasterizing 2D vector graphics
-
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c
USE_LIBTOOL= yes
+USE_TOOLS+= autoconf
GNU_CONFIGURE= yes
INFO_FILES= yes
+pre-configure:
+ cd ${WRKSRC} && autoconf
+
+SUBST_CLASSES+= aclocal
+SUBST_STAGE.aclocal= pre-configure
+SUBST_MESSAGE.aclocal= Fixing aclocal
+SUBST_FILES.aclocal= aclocal.m4
+SUBST_SED.aclocal= -e 's,--no-verify,,'
+
.include "../../mk/bsd.pkg.mk"