use .elif, not .else if - this caused the wrong PKGSPEC to be used for

php/5.5 subpackages. plist_db says a REVISION bump is not needed.
This commit is contained in:
sthen 2014-10-28 12:46:21 +00:00
parent a82b1dbe39
commit 7a77409142

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.57 2014/10/18 20:31:11 sthen Exp $
# $OpenBSD: Makefile.inc,v 1.58 2014/10/28 12:46:21 sthen Exp $
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
@ -371,9 +371,9 @@ FULLPKGNAME-${i}= php-${i}-${V}${FLAVOR_EXT:S/-ap2//}
FULLPKGPATH-${i}= ${PKGPATH},-${i}${FLAVOR_EXT:S/-ap2//:S/-/,/g}
.if ${V:M5.3*}
PKGSPEC-${i}= php-${i}->=5.3,<5.4
.else if ${V:M5.4*}
.elif ${V:M5.4*}
PKGSPEC-${i}= php-${i}->=5.4,<5.5
.else if ${V:M5.5*}
.elif ${V:M5.5*}
PKGSPEC-${i}= php-${i}->=5.5,<5.6
.endif
RUN_DEPENDS-${i}+= php-${V}:lang/php/${PV}