ports/76824: science/felt: fix compilation on FreeBSD >= 5.x

Johan van Selst johans at stack.nl
Sat Jan 29 18:20:20 UTC 2005


>Number:         76824
>Category:       ports
>Synopsis:       science/felt: fix compilation on FreeBSD >= 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 29 18:20:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #3: Thu Jan 13 13:11:19 CET 2005 root at mud.stack.nl:/usr/local/spare1/TEMP/obj/usr/src/sys/mud i386


	
>Description:
	
	felt compilation failes on missing objects.
	Fix: link velvet with the required Xm library

>How-To-Repeat:
	
>Fix:

	

Add dependency on libXm (which is included in x11-toolkits/open-motif)

and include the following patch (e.g. as files/patch-src+Velvet+Makefile)

--- src/Velvet/Makefile.orig	Sat Jan 29 18:21:57 2005
+++ src/Velvet/Makefile	Sat Jan 29 18:19:36 2005
@@ -18,7 +18,7 @@
 CFLAGS	= $(CCOPTS) -I$(X11INC) -I$(TOPDIR)/include
 LDFLAGS	= $(LDOPTS) -L$(X11LIB)
 LIBS	= $(LIBWIDGETS) $(LIBGEN) $(LIBFELT) $(LIBELT) $(LIBMTX)\
-          -lGLw -lGLU -lGL -lXaw3d -lXmu -lXt -lSM -lICE -lXext -lX11 -lm 
+          -lGLw -lGLU -lGL -lXaw3d -lXmu -lXt -lSM -lICE -lXext -lXm -lX11 -lm 
 #	  /usr/X11R6/lib/libXaw3d.a /usr/X11R6/lib/libXmu.so.6.0 \
 #	  /usr/X11R6/lib/libXt.so.6.0 /usr/X11R6/lib/libSM.so.6.0 \
 #	  /usr/X11R6/lib/libICE.so.6.0 /usr/X11R6/lib/libXext.so.6.0 \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list