svn commit: r340827 - head/x11-wm/xfce4-panel
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Jan 23 13:50:19 UTC 2014
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 <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list