Date: Fri, 10 Aug 2001 06:19:21 -0400 (EDT) From: pat@databits.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/29595: Fix linker errors for sysutils/glload (Bento) Message-ID: <200108101019.f7AAJLx52465@cc92687-a.wlgrv1.pa.home.com>
next in thread | raw e-mail | index | archive | help
>Number: 29595 >Category: ports >Synopsis: Fix linker errors for sysutils/glload (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 errors for sysutils/glload noted by bento. >How-To-Repeat: N/A >Fix: diff -ruN /usr/ports/sysutils/glload/Makefile glload/Makefile --- /usr/ports/sysutils/glload/Makefile Thu Aug 3 05:26:20 2000 +++ glload/Makefile Fri Aug 10 01:58:38 2001 @@ -18,6 +18,8 @@ USE_MESA= yes MAKEFILE= Makefile.FreeBSD ALL_TARGET= glload +MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \ + PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" do-install: @${INSTALL_PROGRAM} ${WRKSRC}/glload ${PREFIX}/bin diff -ruN /usr/ports/sysutils/glload/files/patch-Makefile.FreeBSD glload/files/patch-Makefile.FreeBSD --- /usr/ports/sysutils/glload/files/patch-Makefile.FreeBSD Wed Dec 31 19:00:00 1969 +++ glload/files/patch-Makefile.FreeBSD Fri Aug 10 01:56:49 2001 @@ -0,0 +1,16 @@ +--- Makefile.FreeBSD.orig Fri Aug 10 01:56:34 2001 ++++ Makefile.FreeBSD Fri Aug 10 01:56:14 2001 +@@ -1,11 +1,10 @@ + OBJS = get_load.o trackball.o glload.o texture.o +-CFLAGS += -I/usr/X11R6/include -DFreeBSD ++CFLAGS += -I/usr/X11R6/include -DFreeBSD ${PTHREAD_CFLAGS} + # i need this + LDFLAGS = -L/usr/X11R6/lib + # the libs librpcsvc me only be needed on IRIX +-LLDLIBS = -lglut -lGLU -lGL -lXmu -lXext -lXi -lXt -lICE -lSM -lX11 -lm ++LLDLIBS = -lglut -lGLU -lGL -lXmu -lXext -lXi -lXt -lICE -lSM -lX11 -lm ${PTHREAD_LIBS} + # your C-compiler +-CC = gcc + + glload: $(OBJS) + $(CC) -o glload $(OBJS) $(LDFLAGS) $(LLDLIBS) >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.f7AAJLx52465>