ports/139367: security/xmlsec1: use -fPIC on 64-bit platforms
Dima Panov
fluffy at FreeBSD.org
Mon Oct 5 12:50:02 UTC 2009
>Number: 139367
>Category: ports
>Synopsis: security/xmlsec1: use -fPIC on 64-bit platforms
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 05 12:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Dima Panov
>Release: FreeBSD 9.0-900002-CURRENT amd64
>Organization:
Fluffy.Khv.RU
>Environment:
System: FreeBSD 9.0-900002-CURRENT #0: Mon Sep 28 20:21:14 VLAST 2009
fluffy at Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot
>Description:
security/xmlsec1: use -fPIC on 64-bit platforms
>How-To-Repeat:
on amd64 or ia64:
make -DWITH_NSS -DWITH_GNUTLS all install
>Fix:
--- xmlsec1.diff begins here ---
Index: security/xmlsec1/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/xmlsec1/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- security/xmlsec1/Makefile 1 Oct 2009 20:10:54 -0000 1.25
+++ security/xmlsec1/Makefile 5 Oct 2009 12:38:50 -0000
@@ -55,6 +55,10 @@
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+= -fPIC
+.endif
+
.if defined(WITH_GNUTLS)
CONFIGURE_ARGS+= --with-gnutls="${LOCALBASE}"
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
--- xmlsec1.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list