svn commit: r383475 - in head/editors/mined: . files

Thierry Thomas thierry at FreeBSD.org
Mon Apr 6 20:00:29 UTC 2015


Author: thierry
Date: Mon Apr  6 20:00:28 2015
New Revision: 383475
URL: https://svnweb.freebsd.org/changeset/ports/383475

Log:
  Finally it seems that the base Gcc is sufficient: only -Wtype-limits is
  newer and can be removed.
  
  Submitted by:	danfe

Modified:
  head/editors/mined/Makefile
  head/editors/mined/files/patch-src__mkinclud.gcc

Modified: head/editors/mined/Makefile
==============================================================================
--- head/editors/mined/Makefile	Mon Apr  6 19:57:50 2015	(r383474)
+++ head/editors/mined/Makefile	Mon Apr  6 20:00:28 2015	(r383475)
@@ -26,12 +26,6 @@ PRFX2FIX=	src/makefile.bsd usrshare/conf
 		src/minedaux.c man/mined.1 src/mkinclud.mak		\
 		src/makefile.gcc
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == "FreeBSD" && ${OSVERSION} < 1000000
-USE_GCC=	yes
-.endif
-
 pre-configure:
 .for FILE in ${PRFX2FIX}
 	${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${FILE}
@@ -55,4 +49,4 @@ post-install:
 	@${RM} -rf ${STAGEDIR}${DOCSDIR}/CHANGES ${STAGEDIR}${DOCSDIR}/LICENCE.GPL
 	@${RM} -rf ${STAGEDIR}${DATADIR}/doc_user ${STAGEDIR}${DATADIR}/package_doc
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/editors/mined/files/patch-src__mkinclud.gcc
==============================================================================
--- head/editors/mined/files/patch-src__mkinclud.gcc	Mon Apr  6 19:57:50 2015	(r383474)
+++ head/editors/mined/files/patch-src__mkinclud.gcc	Mon Apr  6 20:00:28 2015	(r383475)
@@ -1,6 +1,15 @@
---- src/mkinclud.gcc.orig	2011-07-20 00:00:00.000000000 +0200
-+++ src/mkinclud.gcc	2011-11-20 18:44:14.000000000 +0100
-@@ -48,7 +48,7 @@
+--- src/mkinclud.gcc.orig	2015-03-08 23:00:00 UTC
++++ src/mkinclud.gcc
+@@ -48,7 +48,7 @@ GFLAGS= -ansi -Waggregate-return -Winlin
+ 
+ GCC3FLAGS=-Wdeclaration-after-statement -Wno-pragmas
+ # -Wunreachable-code deprecated
+-GCC4FLAGS=$(GCC3FLAGS) -Wno-pointer-sign -Wtype-limits
++GCC4FLAGS=$(GCC3FLAGS) -Wno-pointer-sign
+ 
+ # Warning options for newer gcc versions:
+ # (additional grep for the sake of MSys sed failing on CRLF from MinGW gcc)
+@@ -71,7 +71,7 @@ PROTOFLAGS=	-Wmissing-prototypes -Wretur
  # compilation mode options (optimisation and debug)
  
  # Optimization flag/level:


More information about the svn-ports-head mailing list