pkgsrc/graphics/lib3ds/patches/patch-ab
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

34 lines
681 B
Text

$NetBSD: patch-ab,v 1.2 2006/04/11 14:47:06 jmmv Exp $
--- examples/Makefile.am.orig 2002-01-14 13:27:45.000000000 +0100
+++ examples/Makefile.am
@@ -25,23 +25,17 @@ INCLUDES = \
@GLUT_CFLAGS@ \
@DMALLOC_CFLAGS@
-if GLUT_CHECK
-PLAYER = player
-else
-PLAYER =
-endif
-
-noinst_PROGRAMS = \
+bin_PROGRAMS = \
3ds2rib \
- $(PLAYER)
+ 3dsplayer
LDADD = \
- $(top_builddir)/lib3ds/lib3ds.a \
+ $(top_builddir)/lib3ds/lib3ds.la \
@DMALLOC_LIBS@ -lm
-player_SOURCES = player.c
-player_LDADD = \
- $(top_builddir)/lib3ds/lib3ds.a \
+3dsplayer_SOURCES = player.c
+3dsplayer_LDADD = \
+ $(top_builddir)/lib3ds/lib3ds.la \
@GLUT_LIBS@ \
@DMALLOC_LIBS@ -lm