add support for MODPHP_BUILDDEP and MODPHP_RUNDEP
This commit is contained in:
parent
a9eaa6abb2
commit
dc81a2fceb
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: php.port.mk,v 1.5 2011/07/08 18:24:00 robert Exp $
|
||||
# $OpenBSD: php.port.mk,v 1.6 2011/07/08 22:36:47 robert Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -17,8 +17,15 @@ MODPHP_LIB_DEPENDS= ${MODPHPSPEC}:lang/php/${MODPHP_VERSION}
|
||||
MODPHP_WANTLIB = php${MODPHP_VERSION}
|
||||
_MODPHP_BUILD_DEPENDS= ${MODPHPSPEC}:lang/php/${MODPHP_VERSION}
|
||||
|
||||
MODPHP_BUILDDEP?= Yes
|
||||
MODPHP_RUNDEP?= Yes
|
||||
|
||||
.if ${NO_BUILD:L} == "no" && ${MODPHP_BUILDDEP:L} == "yes"
|
||||
BUILD_DEPENDS+= ${_MODPHP_BUILD_DEPENDS}
|
||||
.endif
|
||||
.if ${MODPHP_RUNDEP:L} == "yes"
|
||||
RUN_DEPENDS+= ${MODPHP_RUN_DEPENDS}
|
||||
.endif
|
||||
|
||||
MODPHP_BIN= ${LOCALBASE}/bin/php-${MODPHP_VERSION}
|
||||
MODPHP_PHPIZE= ${LOCALBASE}/bin/phpize-${MODPHP_VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user