svn commit: r547316 - head/security/yersinia
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Sep 2 03:44:43 UTC 2020
Author: danfe
Date: Wed Sep 2 03:44:42 2020
New Revision: 547316
URL: https://svnweb.freebsd.org/changeset/ports/547316
Log:
- Force -fcommon to unbreak the build against modern compilers
- Respect CFLAGS, remove bogus += and EOL whitespace while here
Reported by: pkg-fallout
Modified:
head/security/yersinia/Makefile
Modified: head/security/yersinia/Makefile
==============================================================================
--- head/security/yersinia/Makefile Wed Sep 2 03:43:59 2020 (r547315)
+++ head/security/yersinia/Makefile Wed Sep 2 03:44:42 2020 (r547316)
@@ -16,7 +16,7 @@ LIB_DEPENDS= libnet.so:net/libnet \
libfreetype.so:print/freetype2
USES= autoreconf gnome ncurses pkgconfig
-USE_GNOME+= cairo gdkpixbuf2 gtk20
+USE_GNOME= cairo gdkpixbuf2 gtk20
PKGNAMESUFFIX= -gtk
USE_GITHUB= yes
GH_TUPLE= tomac:yersinia:8c0d7c5
@@ -24,6 +24,10 @@ GNU_CONFIGURE= yes
PLIST_FILES= sbin/yersinia \
man/man8/yersinia.8.gz
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,-O3 -Wall -g,${CFLAGS} -fcommon,' \
+ ${WRKSRC}/configure.ac
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${STAGEDIR}${PREFIX}/sbin/
More information about the svn-ports-head
mailing list