Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2015 09:10:27 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379078 - head/www/libevhtp
Message-ID:  <201502160910.t1G9ARuY005715@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Feb 16 09:10:26 2015
New Revision: 379078
URL: https://svnweb.freebsd.org/changeset/ports/379078
QAT: https://qat.redports.org/buildarchive/r379078/

Log:
  www/libevhtp: Adjust plist based on pre-existence of header
  
  The presence of onigurama*, owncloud, and php-mdstring preinstall
  onigposix.h so this makes the port aware and lets it adjust the plist
  accordingly.
  
  PR:		196865
  Submitted by:	maintainer (Jingfeng Yan)

Modified:
  head/www/libevhtp/Makefile

Modified: head/www/libevhtp/Makefile
==============================================================================
--- head/www/libevhtp/Makefile	Mon Feb 16 09:08:50 2015	(r379077)
+++ head/www/libevhtp/Makefile	Mon Feb 16 09:10:26 2015	(r379078)
@@ -2,7 +2,7 @@
 
 PORTNAME=	libevhtp
 PORTVERSION=	1.2.9
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www
 
 MAINTAINER=	yan_jingfeng@yahoo.com
@@ -51,8 +51,11 @@ OPTIONS_DEFAULT=	EVHTP_BUILD_SHARED
 PLIST_FILES=	include/evhtp.h\
 		include/evhtp-config.h \
 		include/evthr.h \
-		include/htparse.h \
-		include/onigposix.h
+		include/htparse.h
+
+.if !exists(${LOCALBASE}/include/onigposix.h)
+PLIST_FILES+=	include/onigposix.h
+.endif
 
 .if ${PORT_OPTIONS:MEVHTP_BUILD_SHARED}
 PLIST_FILES+=	lib/libevhtp.so



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