ports/158663: misc/xosd: fix build with clang
Guido Falsi
mad at madpilot.net
Tue Jul 5 09:50:07 UTC 2011
>Number: 158663
>Category: ports
>Synopsis: misc/xosd: fix build with clang
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 05 09:50:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Guido Falsi
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon Jun 6 20:10:31 CEST 2011 root at megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64
>Description:
Fix build with clang on 9-CURRENT.
While there make portlint happy about CFLAGS in CONFIGURE_ENV.
>How-To-Repeat:
>Fix:
diff -ruN xosd.old/Makefile xosd/Makefile
--- xosd.old/Makefile 2011-07-05 11:24:25.000000000 +0200
+++ xosd/Makefile 2011-07-05 11:25:31.000000000 +0200
@@ -19,8 +19,9 @@
USE_XORG= x11 xext xt sm ice
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
+USE_CSTD= gnu89
CONFIGURE_ENV= LIBS=${PTHREAD_LIBS}' -L${LOCALBASE}/lib' \
- CFLAGS='${CFLAGS}' LOCALBASE='${LOCALBASE}' \
+ LOCALBASE='${LOCALBASE}' \
GTK_CONFIG='${GTK_CONFIG}' GLIB_CONFIG='${GLIB_CONFIG}' \
XMMS_PLUGINDIR=${LOCALBASE}/lib/xmms
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list