From owner-svn-ports-all@FreeBSD.ORG Thu Jan 23 13:50:19 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B463424F; Thu, 23 Jan 2014 13:50:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A181B107A; Thu, 23 Jan 2014 13:50:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0NDoJnq056928; Thu, 23 Jan 2014 13:50:19 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0NDoJuL056927; Thu, 23 Jan 2014 13:50:19 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201401231350.s0NDoJuL056927@svn.freebsd.org> From: Emanuel Haupt Date: Thu, 23 Jan 2014 13:50:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340827 - head/x11-wm/xfce4-panel X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 13:50:19 -0000 Author: ehaupt Date: Thu Jan 23 13:50:19 2014 New Revision: 340827 URL: http://svnweb.freebsd.org/changeset/ports/340827 QAT: https://qat.redports.org/buildarchive/r340827/ Log: Fix build on amd64, 10.x with clang. Modified: head/x11-wm/xfce4-panel/Makefile Modified: head/x11-wm/xfce4-panel/Makefile ============================================================================== --- head/x11-wm/xfce4-panel/Makefile Thu Jan 23 12:36:18 2014 (r340826) +++ head/x11-wm/xfce4-panel/Makefile Thu Jan 23 13:50:19 2014 (r340827) @@ -15,7 +15,7 @@ LIB_DEPENDS= libwnck-1.so:${PORTSDIR}/x1 libcairo.so:${PORTSDIR}/graphics/cairo \ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib -USES= desktop-file-utils gmake pathfix perl5 pkgconfig +USES= desktop-file-utils gmake pathfix perl5 pkgconfig compiler GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_BZIP2= yes @@ -28,7 +28,13 @@ CONFIGURE_ARGS+=--enable-gio-unix OPTIONS_DEFINE= NLS DOCS -.include +.include + +.if ${OSVERSION} >= 1000000 +.if ${COMPILER_TYPE} == clang +CFLAGS_amd64= -fPIC +.endif +.endif .if ${PORT_OPTIONS:MNLS} USES+= gettext @@ -47,4 +53,4 @@ CONFIGURE_ARGS+=--without-html-dir PLIST_SUB+= APIDOCS="@comment " .endif -.include +.include