Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2018 06:54:09 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478930 - head/graphics/fig2sxd
Message-ID:  <201809040654.w846s9r0088834@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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