Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2017 03:30:43 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433346 - in head: comms/rtl-sdr games/openbor lang/phc math/prng net-mgmt/flow-tools x11-wm/afterstep-stable
Message-ID:  <201702050330.v153Uh57036137@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Feb  5 03:30:43 2017
New Revision: 433346
URL: https://svnweb.freebsd.org/changeset/ports/433346

Log:
  Prefer -std=gnu89 over -fgnu89-inline

Modified:
  head/comms/rtl-sdr/Makefile   (contents, props changed)
  head/games/openbor/Makefile   (contents, props changed)
  head/lang/phc/Makefile   (contents, props changed)
  head/math/prng/Makefile   (contents, props changed)
  head/net-mgmt/flow-tools/Makefile   (contents, props changed)
  head/x11-wm/afterstep-stable/Makefile   (contents, props changed)

Modified: head/comms/rtl-sdr/Makefile
==============================================================================
--- head/comms/rtl-sdr/Makefile	Sun Feb  5 03:30:33 2017	(r433345)
+++ head/comms/rtl-sdr/Makefile	Sun Feb  5 03:30:43 2017	(r433346)
@@ -14,9 +14,9 @@ COMMENT=	Commandline tool that performs 
 LICENSE=	GPLv2
 
 USES=		autoreconf gmake pkgconfig libtool pathfix tar:tgz
+USE_CSTD=	gnu89
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
-CFLAGS+=	-fgnu89-inline
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 USE_LDCONFIG=	yes

Modified: head/games/openbor/Makefile
==============================================================================
--- head/games/openbor/Makefile	Sun Feb  5 03:30:33 2017	(r433345)
+++ head/games/openbor/Makefile	Sun Feb  5 03:30:43 2017	(r433346)
@@ -20,14 +20,13 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 		libvpx.so:multimedia/libvpx
 
 USES=		gmake pkgconfig tar:xz
+USE_CSTD=	gnu89
 USE_SDL=	gfx2
 MAKE_ENV=	BUILD_LINUX=1 SDKPATH="${LOCALBASE}" \
 		GCC_TARGET="${CONFIGURE_TARGET:S/amd64/x86_64/}"
 MAKE_ARGS=	CC="${CC}" LIBRARIES="${LOCALBASE}/lib" \
 		TARGET_ARCH=${ARCH:S/i386/x86/} ARCHFLAGS="" \
 		TARGET_FINAL='${TARGET}' BUILD_MMX="" ECHO="${ECHO}"
-CFLAGS+=	-fgnu89-inline ${CFLAGS_${OPSYS}}
-CFLAGS_DragonFly=	-D_GCC_MAX_ALIGN_T # system stddef.h
 LDFLAGS+=	-Wl,--as-needed # ogg, pthread, zlib
 PLIST_FILES=	bin/${PORTNAME} \
 		share/pixmaps/${PORTNAME}.png

Modified: head/lang/phc/Makefile
==============================================================================
--- head/lang/phc/Makefile	Sun Feb  5 03:30:33 2017	(r433345)
+++ head/lang/phc/Makefile	Sun Feb  5 03:30:43 2017	(r433346)
@@ -13,8 +13,8 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/license/LICENSE
 
 USES=		gmake
+USE_CSTD=	gnu89
 GNU_CONFIGURE=	yes
-MAKE_ARGS=	CFLAGS="${CFLAGS} -fgnu89-inline"
 
 post-patch:	.SILENT
 	${REINPLACE_CMD} 's/g++/$$CXX/' \

Modified: head/math/prng/Makefile
==============================================================================
--- head/math/prng/Makefile	Sun Feb  5 03:30:33 2017	(r433345)
+++ head/math/prng/Makefile	Sun Feb  5 03:30:43 2017	(r433346)
@@ -11,7 +11,7 @@ COMMENT=	Portable, high-performance ANSI
 
 LICENSE=	GPLv2
 
-CFLAGS+=	-fgnu89-inline
+USE_CSTD=	gnu89
 GNU_CONFIGURE=	yes
 INFO=		prng
 PLIST_FILES=	include/prng.h lib/libprng.a

Modified: head/net-mgmt/flow-tools/Makefile
==============================================================================
--- head/net-mgmt/flow-tools/Makefile	Sun Feb  5 03:30:33 2017	(r433345)
+++ head/net-mgmt/flow-tools/Makefile	Sun Feb  5 03:30:43 2017	(r433346)
@@ -17,8 +17,8 @@ OPTIONS_DEFINE=	MYSQL OPENSSL PGSQL
 CONFLICTS=	flow-tools-ng-[0-9]*
 
 USES=		python:run
+USE_CSTD=	gnu89
 GNU_CONFIGURE=	yes
-CFLAGS+=	-fgnu89-inline
 CONFIGURE_ARGS+=--localstatedir="${PREFIX}"
 MAKE_ARGS=	AM_CFLAGS="${CFLAGS}"
 

Modified: head/x11-wm/afterstep-stable/Makefile
==============================================================================
--- head/x11-wm/afterstep-stable/Makefile	Sun Feb  5 03:30:33 2017	(r433345)
+++ head/x11-wm/afterstep-stable/Makefile	Sun Feb  5 03:30:43 2017	(r433346)
@@ -20,6 +20,7 @@ LIB_DEPENDS=	libdbus-1.so:devel/dbus \
 RUN_DEPENDS=	xli:graphics/xli
 
 USES=		execinfo gmake jpeg pkgconfig shebangfix tar:bzip2
+USE_CSTD=	gnu89
 USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk20 librsvg2 pango
 USE_XORG+=	ice sm x11 xcomposite xcursor xdamage xext xfixes xi xinerama \
 		xrandr xrender
@@ -27,7 +28,6 @@ GNU_CONFIGURE=	yes
 SHEBANG_FILES=	tools/ascommand.pl \
 		tools/importasmenu
 MAKE_JOBS_UNSAFE=	yes
-CFLAGS+=	-fgnu89-inline
 CONFIGURE_ARGS+=--disable-ascp \
 		--enable-i18n \
 		--disable-send-postcard-to-developer \



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