Date: Wed, 19 Dec 2012 09:33:28 +0100 (CET) From: Marcus von Appen <mva@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: hsmtkk@gmail.com Subject: ports/174567: [PATCH]: Fix mxml linking on amd64 Message-ID: <201212190833.qBJ8XSKe075335@medusa.sysfault.org> Resent-Message-ID: <201212190850.qBJ8o17N077191@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 174567 >Category: ports >Synopsis: [PATCH]: Fix mxml linking on amd64 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 19 08:50:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Marcus von Appen >Release: FreeBSD 9.1-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD medusa.sysfault.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #6 r244296: Sun Dec 16 20:38:06 CET 2012 root@medusa.sysfault.org:/usr/obj/usr/src/sys/MEDUSA amd64 >Description: textproc/mxml does not link properly against targets due to a missing -fPIC in its CFLAGS on amd64. Maintainer (hsmtkk@gmail.com) is CC'ed. >How-To-Repeat: n/a The issue was triggered on updating audio/zynaddsubfx: Linking CXX shared library libzynaddsubfx_dssi.so /usr/bin/ld: /usr/local/lib/libmxml.a(mxml-attr.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libmxml.a: could not read symbols: Bad value *** [src/libzynaddsubfx_dssi.so] Error code 1 >Fix: Index: Makefile =================================================================== --- Makefile (revision 309149) +++ Makefile (working copy) @@ -1,12 +1,9 @@ -# New ports collection makefile for: mxml -# Date created: 2007-10-12 -# Whom: Martin Wilke <miwi@FreeBSD.org> -# +# Created by: Martin Wilke <miwi@FreeBSD.org> # $FreeBSD$ -# PORTNAME= mxml PORTVERSION= 2.6 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_EASYSW} MASTER_SITE_SUBDIR= mxml/${PORTVERSION} @@ -21,6 +18,8 @@ CONFIGURE_ARGS= --with-docdir=no MAKE_JOBS_SAFE= yes +CFLAGS+= -fPIC + MAN1= mxmldoc.1 MAN3= mxml.3 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212190833.qBJ8XSKe075335>