freebsd-ports/graphics/inventor/files/patch-lib-GNUmakefile
Pietro Cerutti 047129ab56 - Fix build with modern compilers
PR:		182900
Submitted by:	gahr
Approved by:	maintainer
2013-10-21 07:29:28 +00:00

13 lines
336 B
Text

--- lib/GNUmakefile.orig 2001-09-25 02:45:32.000000000 +0200
+++ lib/GNUmakefile 2013-10-10 14:49:54.000000000 +0200
@@ -10,6 +10,10 @@
-lX11 -lm \
-lGLU -lGL
+ifeq ($(usingFreeBSD), 1)
+LLDLIBS += -lXext %%ICONV_LIB%%
+endif
+
OBJECTS = \
./database/src/sb/projectors/SbProjectors.o \
./database/src/sb/Sb.o \