Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2003 00:53:08 +0200 (CEST)
From:      Pav Lucistnik <pav@oook.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58468: [maintainer update] misc/gkrellm-helium
Message-ID:  <200310232253.h9NMr8uQ070570@hood.oook.cz>
Resent-Message-ID: <200310232300.h9NN0YCJ056086@freefall.freebsd.org>

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

>Number:         58468
>Category:       ports
>Synopsis:       [maintainer update] misc/gkrellm-helium
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 16:00:33 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Pav Lucistnik
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hood.oook.cz 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Oct 18 01:19:19 CEST 2003 root@hood.oook.cz:/usr/obj/usr/src/sys/PAV i386


	
>Description:
Unbreak this port on amd64.

Noticed by:        bento
Prompted by:       kris
Not tested on:     amd64
Does not break on: i386
Fix stolen from:   gstreamer-plugins 

>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/misc/gkrellm-helium/Makefile gkrellm-helium/Makefile
--- /usr/ports/misc/gkrellm-helium/Makefile	Mon Oct  6 13:41:44 2003
+++ gkrellm-helium/Makefile	Fri Oct 24 00:38:54 2003
@@ -22,7 +22,8 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
-		s|/usr/local/lib/gkrellm2/plugins|${PREFIX}/libexec/gkrellm2/plugins|' ${WRKSRC}/Makefile
+		s|/usr/local/lib/gkrellm2/plugins|${PREFIX}/libexec/gkrellm2/plugins| ; \
+		s|gcc -c|gcc -c -fPIC|g' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's|ulong|u_long|' ${WRKSRC}/*.c
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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