svn commit: r409621 - in branches/2016Q1/graphics/giflib: . files

Mark Felder feld at FreeBSD.org
Fri Feb 26 16:04:57 UTC 2016


Author: feld
Date: Fri Feb 26 16:04:55 2016
New Revision: 409621
URL: https://svnweb.freebsd.org/changeset/ports/409621

Log:
  MFH: r409619
  
  graphics/giflib: Add patches to prevent exporting reallocarray
  
  PR:		205676
  Approved by:	ports-secteam (with hat)

Added:
  branches/2016Q1/graphics/giflib/files/
     - copied from r409619, head/graphics/giflib/files/
Modified:
  branches/2016Q1/graphics/giflib/Makefile
Directory Properties:
  branches/2016Q1/   (props changed)

Modified: branches/2016Q1/graphics/giflib/Makefile
==============================================================================
--- branches/2016Q1/graphics/giflib/Makefile	Fri Feb 26 16:04:44 2016	(r409620)
+++ branches/2016Q1/graphics/giflib/Makefile	Fri Feb 26 16:04:55 2016	(r409621)
@@ -3,6 +3,7 @@
 
 PORTNAME=	giflib
 PORTVERSION=	5.1.2
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}
 
@@ -25,13 +26,14 @@ INSTALL_TARGET=	install-strip
 .if ${PORT_OPTIONS:MDOCBOOK} && ${PORT_OPTIONS:MDOCS}
 BUILD_DEPENDS+=	xmlto:${PORTSDIR}/textproc/xmlto \
 		docbook-xml>0:${PORTSDIR}/textproc/docbook-xml
+.else
+CONFIGURE_ENV+=	have_xmlto=no
 .endif
 
-post-patch:
-.if ! ${PORT_OPTIONS:MDOCBOOK} || ! ${PORT_OPTIONS:MDOCS}
-	${REINPLACE_CMD} \
-		-e 's|SUBDIRS = lib util doc pic|SUBDIRS = lib util pic|' \
-		${WRKSRC}/Makefile.in
+.if ${OSVERSION} >= 1100072
+EXTRA_PATCHES=	${FILESDIR}/extra-patch-unbundle-reallocarray
+.else
+EXTRA_PATCHES=	${FILESDIR}/extra-patch-hide-reallocarray
 .endif
 
 post-install:


More information about the svn-ports-all mailing list