Use USES=localbase:ldflags

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-09-24 11:12:14 +00:00
parent 348bc2732c
commit bedb1ee9cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480574

View file

@ -21,8 +21,7 @@ LICENSE_FILE_MIT= ${WRKSRC}/MIT-LICENSE
BUILD_DEPENDS= swig3.0:devel/swig30
LIB_DEPENDS= libgeos_c.so:graphics/geos
LDFLAGS+= -L${PREFIX}/lib
USES= php:ext
USES= localbase:ldflags php:ext
WRKSRC= ${WRKDIR}/php-${PORTNAME}