mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
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)
This commit is contained in:
parent
87c029ffab
commit
0b77eed4d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379078
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user