pkgsrc/graphics/lib3ds/patches/patch-ac
jmmv 03aa455434 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.
2006-04-11 14:47:06 +00:00

19 lines
427 B
Text

$NetBSD: patch-ac,v 1.2 2006/04/11 14:47:06 jmmv Exp $
--- lib3ds/Makefile.am.orig 2002-01-14 13:27:45.000000000 +0100
+++ lib3ds/Makefile.am
@@ -24,9 +24,12 @@ lib3dsdir=$(includedir)/lib3ds
INCLUDES = -I$(top_srcdir)
-lib_LIBRARIES = lib3ds.a
+lib_LTLIBRARIES = lib3ds.la
-lib3ds_a_SOURCES = \
+lib3ds_la_LIBADD = -lm
+lib3ds_la_LDFLAGS = -version-info 1
+
+lib3ds_la_SOURCES = \
io.c \
float.c \
vector.c \