Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2014 12:26:04 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Dmitry Marakasov <amdmi3@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r366484 - head/deskutils/xfce4-notification-daemon
Message-ID:  <20140829122604.0200b3fb@kalimero.tijl.coosemans.org>
In-Reply-To: <201408290948.s7T9mUX7048672@svn.freebsd.org>
References:  <201408290948.s7T9mUX7048672@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 29 Aug 2014 09:48:30 +0000 (UTC) Dmitry Marakasov <amdmi3@FreeBSD.org> wrote:
> Author: amdmi3
> Date: Fri Aug 29 09:48:30 2014
> New Revision: 366484
> URL: http://svnweb.freebsd.org/changeset/ports/366484
> QAT: https://qat.redports.org/buildarchive/r366484/
> 
> Log:
>   - Fix build by adding -fPIC to cflags
>   
>   Approved by:	portmgr blanket
> 
> Modified:
>   head/deskutils/xfce4-notification-daemon/Makefile
> 
> Modified: head/deskutils/xfce4-notification-daemon/Makefile
> ==============================================================================
> --- head/deskutils/xfce4-notification-daemon/Makefile	Fri Aug 29 09:42:06 2014	(r366483)
> +++ head/deskutils/xfce4-notification-daemon/Makefile	Fri Aug 29 09:48:30 2014	(r366484)
> @@ -26,6 +26,7 @@ USES=		gmake libtool pkgconfig tar:bzip2
>  USE_GNOME=	librsvg2
>  USE_LDCONFIG=	yes
>  USE_XFCE=	configenv libutil libgui
> +CFLAGS+=	-fPIC

Can you check config.log to see if the configure test for -fPIC fails
without this change?
Adding -fPIC to CFLAGS is a big hammer solution for what is usually a
small problem and it causes executables and static libraries to be
compiled with -fPIC as well when normally only shared libraries have
to be compiled with it.



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