Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2016 16:04:55 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r409621 - in branches/2016Q1/graphics/giflib: . files
Message-ID:  <201602261604.u1QG4tY4023605@repo.freebsd.org>

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



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