ports/158660: [maintainer-update] comms/gnokii: Fix build with clang
Guido Falsi
mad at madpilot.net
Tue Jul 5 08:50:07 UTC 2011
>Number: 158660
>Category: ports
>Synopsis: [maintainer-update] comms/gnokii: Fix build with clang
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 05 08:50:06 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 CURRENT.
While I'm here also make portlint happy.
>How-To-Repeat:
>Fix:
diff -ruN gnokii.old/Makefile gnokii/Makefile
--- gnokii.old/Makefile 2011-07-05 10:25:40.752739255 +0200
+++ gnokii/Makefile 2011-07-05 10:48:42.380898636 +0200
@@ -26,15 +26,16 @@
USE_GMAKE= yes
USE_GETTEXT= yes
USE_LDCONFIG= yes
+USE_CSTD= gnu89
MAKE_JOBS_SAFE= yes
WANT_GNOME= yes
USE_GNOME= intltool
GNU_CONFIGURE= yes
+CPPFLAGS= ${CFLAGS} -I${LOCALBASE}/include -fPIC
CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE} --enable-security \
--with-xgnokiidir=${PREFIX}/share
CONFIGURE_ENV+= MSGFMT="${LOCALBASE}/bin/msgfmt" \
XGETTEXT="${LOCALBASE}/bin/xgettext" \
- CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include -fPIC" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-L${WRKSRC}/common -L${LOCALBASE}/lib" \
PKG_CONFIG="${LOCALBASE}/bin/pkg-config"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list