aboutsummaryrefslogtreecommitdiffstats
path: root/www/libevhtp
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-02-16 17:10:26 +0800
committermarino <marino@FreeBSD.org>2015-02-16 17:10:26 +0800
commit4c18b420a67f760a5b73fa9419523e50fde018be (patch)
treee8d518412ec50c97058261cc8195af2a79310f10 /www/libevhtp
parentb6a59f9bb951bd9a4ddc3439ca85d1eba5580045 (diff)
downloadfreebsd-ports-gnome-4c18b420a67f760a5b73fa9419523e50fde018be.tar.gz
freebsd-ports-gnome-4c18b420a67f760a5b73fa9419523e50fde018be.tar.zst
freebsd-ports-gnome-4c18b420a67f760a5b73fa9419523e50fde018be.zip
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)
Diffstat (limited to 'www/libevhtp')
-rw-r--r--www/libevhtp/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/libevhtp/Makefile b/www/libevhtp/Makefile
index 7b388f94a301..331eec04850d 100644
--- a/www/libevhtp/Makefile
+++ b/www/libevhtp/Makefile
@@ -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