svn commit: r478930 - head/graphics/fig2sxd

Emanuel Haupt ehaupt at FreeBSD.org
Tue Sep 4 06:54:10 UTC 2018


Author: ehaupt
Date: Tue Sep  4 06:54:09 2018
New Revision: 478930
URL: https://svnweb.freebsd.org/changeset/ports/478930

Log:
  - Remove dependency from GCC
  - Specify LICENSE
  
  PR:		226178 (related)

Modified:
  head/graphics/fig2sxd/Makefile

Modified: head/graphics/fig2sxd/Makefile
==============================================================================
--- head/graphics/fig2sxd/Makefile	Tue Sep  4 06:34:50 2018	(r478929)
+++ head/graphics/fig2sxd/Makefile	Tue Sep  4 06:54:09 2018	(r478930)
@@ -3,7 +3,7 @@
 
 PORTNAME=	fig2sxd
 PORTVERSION=	0.22.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics converters
 MASTER_SITES=	LOCAL/ehaupt SF
 DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
@@ -11,19 +11,17 @@ DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
 MAINTAINER=	ehaupt at FreeBSD.org
 COMMENT=	Convert .xfig files to the OpenOffice draw format
 
-USES=		gmake
+LICENSE=	GPLv2
 
+USES=		compiler gmake
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 PLIST_FILES=	bin/fig2sxd man/man1/fig2sxd.1.gz
 
-.include <bsd.port.pre.mk>
+CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
+CXXFLAGS_clang=	-Wno-c++11-narrowing
 
-# Does not compile with clang 6.0.0; PR 226178.
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200056
-USE_GCC=	yes
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^CXX/d; s|^\(all:\).*|\1 $$(TARGET1) fig2sxd.1|' \
@@ -33,4 +31,4 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list