From mm@mail.vx.sk  Wed Jul  8 10:07:39 2009
Return-Path: <mm@mail.vx.sk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 78C091065670
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  8 Jul 2009 10:07:39 +0000 (UTC)
	(envelope-from mm@mail.vx.sk)
Received: from mail.vx.sk (core.vx.sk [188.40.32.143])
	by mx1.freebsd.org (Postfix) with ESMTP id 364868FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  8 Jul 2009 10:07:38 +0000 (UTC)
	(envelope-from mm@mail.vx.sk)
Received: from localhost (localhost [127.0.0.1])
	by mail.vx.sk (Postfix) with ESMTP id 392CC2C909;
	Wed,  8 Jul 2009 12:07:38 +0200 (CEST)
Received: from mail.vx.sk ([127.0.0.1])
	by localhost (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id 0LUtzJdyTjcm; Wed,  8 Jul 2009 12:07:36 +0200 (CEST)
Received: by mail.vx.sk (Postfix, from userid 1001)
	id 48A702C8FD; Wed,  8 Jul 2009 12:07:36 +0200 (CEST)
Message-Id: <20090708100736.48A702C8FD@mail.vx.sk>
Date: Wed,  8 Jul 2009 12:07:36 +0200 (CEST)
From: Martin Matuska <mm@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: vd@FreeBSD.org
Subject: [PATCH] misc/ossp-uuid: add -fPIC for amd64 and ia64
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         136455
>Category:       ports
>Synopsis:       [PATCH] misc/ossp-uuid: add -fPIC for amd64 and ia64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    vd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 08 10:10:01 UTC 2009
>Closed-Date:    Wed Jul 29 07:33:15 UTC 2009
>Last-Modified:  Wed Jul 29 07:40:05 UTC 2009
>Originator:     Martin Matuska
>Release:        FreeBSD 7.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD 7.2-STABLE amd64
>Description:
Add -fPIC to CFLAGS if compiling for amd64 or ia64

Port maintainer (vd@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ossp-uuid-1.6.2_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/misc/ossp-uuid/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- Makefile	27 Nov 2008 07:35:26 -0000	1.32
+++ Makefile	8 Jul 2009 09:54:54 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	uuid
 PORTVERSION=	1.6.2
+PORTREVISION=	1
 CATEGORIES=	misc devel
 MASTER_SITES=	${MASTER_SITE_OSSP}
 MASTER_SITE_SUBDIR=	lib/${PORTNAME}
@@ -24,6 +25,8 @@
 MAN1=	uuid-config.1 uuid.1
 MAN3=	uuid.3 uuid++.3
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_PERL)
 USE_PERL5=	5.8.0+
 CONFIGURE_ENV+=	PERL=${PERL5}
@@ -35,9 +38,13 @@
 PLIST_SUB+=	WITH_PERL='@comment '
 .endif
 
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+=	-fPIC
+.endif
+
 regression-test: test
 
 test: build
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- ossp-uuid-1.6.2_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->vd 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jul 8 10:10:11 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136455 
State-Changed-From-To: open->closed 
State-Changed-By: vd 
State-Changed-When: Wed Jul 29 07:32:12 UTC 2009 
State-Changed-Why:  
Committed, thanks! 
I have also added -DPIC and included bsd.port.pre.mk just 
before it is needed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136455 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/136455: commit references a PR
Date: Wed, 29 Jul 2009 07:34:58 +0000 (UTC)

 vd          2009-07-29 07:34:45 UTC
 
   FreeBSD ports repository
 
   Modified files:
     misc/ossp-uuid       Makefile 
   Log:
   Forced commit to note that the previous commit contains a typo, it should read:
   
   PR:             ports/136455
   
   Revision  Changes    Path
   1.34      +0 -0      ports/misc/ossp-uuid/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
