summaryrefslogtreecommitdiff
path: root/graphics/lib3ds/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-04-11 14:47:06 +0000
committerjmmv <jmmv@pkgsrc.org>2006-04-11 14:47:06 +0000
commit21867f9cf9b46e1528b832545ede355c93428a8f (patch)
treef59815c252343ee2ef6b1158abe26cd5c000f2f1 /graphics/lib3ds/Makefile
parent8a91a94ff173f07497b1b76a03d14edb02d93033 (diff)
downloadpkgsrc-21867f9cf9b46e1528b832545ede355c93428a8f.tar.gz
libtoolize this package so that it builds under Mac OS X; building the
shared library by hand (as happened before) was not portable. Bump PKGREVISION to 5.
Diffstat (limited to 'graphics/lib3ds/Makefile')
-rw-r--r--graphics/lib3ds/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/graphics/lib3ds/Makefile b/graphics/lib3ds/Makefile
index 0e9204f7713..bd1c0f23e5f 100644
--- a/graphics/lib3ds/Makefile
+++ b/graphics/lib3ds/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2006/02/05 23:09:34 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2006/04/11 14:47:06 jmmv Exp $
#
DISTNAME= lib3ds-1.2.0
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lib3ds/}
@@ -11,10 +11,14 @@ HOMEPAGE= http://lib3ds.sourceforge.net/
COMMENT= 3D Studio File Format Library
GNU_CONFIGURE= YES
-
-LDFLAGS+= -lm
+USE_LIBTOOL= YES
+USE_TOOLS= autoconf automake
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
+pre-configure:
+ cd ${WRKSRC} && libtoolize --force
+ cd ${WRKSRC} && autoreconf -i --force
+
.include "../../mk/bsd.pkg.mk"