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: ports/136455: [PATCH] misc/ossp-uuid: add -fPIC for amd64 and ia64 Message-ID: <20090708100736.48A702C8FD@mail.vx.sk> Resent-Message-ID: <200907081010.n68AA15q009987@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 136455 >Category: ports >Synopsis: [PATCH] misc/ossp-uuid: add -fPIC for amd64 and ia64 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 08 10:10:01 UTC 2009 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090708100736.48A702C8FD>