Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2004 00:18:39 -0500 (EST)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        pat@FreeBSD.org
Subject:   ports/63109: amd64-fix: misc/gkrellmlaunch
Message-ID:  <20040220051839.1250D39845@slurmcan.wormulon.net>
Resent-Message-ID: <200402200520.i1K5KJ0c036437@freefall.freebsd.org>

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

>Number:         63109
>Category:       ports
>Synopsis:       amd64-fix: misc/gkrellmlaunch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 19 21:20:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 5.2.1-RC amd64
>Organization:
>Environment:
System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root@ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
This already sounds familiar so just fix
http://bento.freebsd.org/errorlogs/amd64-5-latest/gkrellmlaunch-0.4_1.log
by adding -fPIC

>How-To-Repeat:
	
>Fix:

	

--- gkrellmlaunch-amd64.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/FreeBSD-CVS/ports/misc/gkrellmlaunch/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	6 Feb 2004 13:11:48 -0000	1.9
+++ Makefile	20 Feb 2004 05:16:47 -0000
@@ -23,8 +23,13 @@
 USE_GNOME=	imlib
 ALL_TARGET=	${PORTNAME}.so
 
+.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+CFLAGS=	-fPIC
+.endif
+
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.so \
 		${PREFIX}/libexec/gkrellm/plugins
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- gkrellmlaunch-amd64.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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