Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2001 06:19:32 -0400 (EDT)
From:      pat@databits.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29597: Fix linker errors for audio/spiralsynth
Message-ID:  <200108101019.f7AAJWE52649@cc92687-a.wlgrv1.pa.home.com>

next in thread | raw e-mail | index | archive | help

>Number:         29597
>Category:       ports
>Synopsis:       Fix linker errors for audio/spiralsynth
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 10 03:20:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
N/A
>Environment:
System: FreeBSD bottlenek 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: Sun Aug 5 00:29:13 EDT 2001 root@bottlenek:/usr/src/sys/compile/BOTTLENEK i386
>Description:
Fix linker errors noted by bento
>How-To-Repeat:
N/A
>Fix:
diff -ruN /usr/ports/audio/spiralsynth/Makefile spiralsynth/Makefile
--- /usr/ports/audio/spiralsynth/Makefile	Wed Dec  6 17:53:38 2000
+++ spiralsynth/Makefile	Fri Aug 10 03:18:11 2001
@@ -16,7 +16,8 @@
 LIB_DEPENDS=	fltk.1:${PORTSDIR}/x11-toolkits/fltk
 
 USE_X_PREFIX=	yes
-
+MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}" \
+		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
 GNU_CONFIGURE=	yes
 
 WRKSRC=		${WRKDIR}/${DISTNAME}
diff -ruN /usr/ports/audio/spiralsynth/files/patch-Makefile.in spiralsynth/files/patch-Makefile.in
--- /usr/ports/audio/spiralsynth/files/patch-Makefile.in	Wed Dec 31 19:00:00 1969
+++ spiralsynth/files/patch-Makefile.in	Fri Aug 10 03:30:09 2001
@@ -0,0 +1,18 @@
+--- Makefile.in.orig	Fri Aug 10 03:13:32 2001
++++ Makefile.in	Fri Aug 10 03:14:58 2001
+@@ -9,12 +9,12 @@
+ 
+ CC	=	gcc
+ CXX	=	g++
+-CFLAGS	=	-pipe -Wall -O3 -ffast-math -DNO_DEBUG -Wno-unused
+-CXXFLAGS=	-pipe -Wall -O3 -ffast-math -DNO_DEBUG -Wno-unused
++CFLAGS	+=	-pipe -Wall -ffast-math -DNO_DEBUG ${PTHREAD_CFLAGS}
++CXXFLAGS+=	-pipe -Wall -ffast-math -DNO_DEBUG ${PTHREAD_CFLAGS}
+ INCPATH	=	-I/usr/X11R6/include
+ LINK	=	g++
+ LFLAGS	=	
+-LIBS	=   -L/usr/X11R6/lib -lfltk -lGL -lXext -lX11 -lm 
++LIBS	=   -L/usr/X11R6/lib -lfltk -lGL -lXext -lX11 -lm ${PTHREAD_LIBS}
+ MOC	=	moc
+ 
+ TAR	=	tar -cf
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108101019.f7AAJWE52649>