Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2001 06:19:49 -0400 (EDT)
From:      pat@databits.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29600: Fix linker error for x11-fm/xdiskusage (Bento)
Message-ID:  <200108101019.f7AAJne52925@cc92687-a.wlgrv1.pa.home.com>

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

>Number:         29600
>Category:       ports
>Synopsis:       Fix linker error for x11-fm/xdiskusage (Bento)
>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 error noted by bento
>How-To-Repeat:
Convert to bentoism
>Fix:
diff -ruN /usr/ports/x11-fm/xdiskusage/Makefile xdiskusage/Makefile
--- /usr/ports/x11-fm/xdiskusage/Makefile	Wed Oct  4 01:15:34 2000
+++ xdiskusage/Makefile	Fri Aug 10 05:19:25 2001
@@ -21,11 +21,13 @@
 
 do-build:
 .for i in panels xdiskusage
-	${CXX} ${CXXFLAGS} -I${X11BASE}/include -c ${WRKSRC}/${i}.C \
-		-o ${WRKSRC}/${i}.o
+	${CXX} ${CXXFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include -c \
+		${WRKSRC}/${i}.C -o ${WRKSRC}/${i}.o
 .endfor
-	${CXX} ${CXXFLAGS} -L${X11BASE}/lib -o ${WRKSRC}/xdiskusage \
-		${WRKSRC}/panels.o ${WRKSRC}/xdiskusage.o -lfltk  -lm -lMesaGL
+	${CXX} ${CXXFLAGS} ${PTHREAD_CFLAGS} -L${X11BASE}/lib -o \
+		${WRKSRC}/xdiskusage ${WRKSRC}/panels.o \
+		${WRKSRC}/xdiskusage.o -lfltk  -lm -lMesaGL \
+		${PTHREAD_LIBS} -lXext -lX11
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xdiskusage ${PREFIX}/bin
>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.f7AAJne52925>