Index: bsd.port.mk =================================================================== --- bsd.port.mk (revision 305401) +++ bsd.port.mk (working copy) @@ -1657,20 +1657,15 @@ CONFIGURE_ENV+= MAKE=${GMAKE} .endif .if defined(USE_PKGCONFIG) -.if ${USE_PKGCONFIG:L} == yes -USE_PKGCONFIG= build -.endif -.if ${USE_PKGCONFIG:L} == run -RUN_DEPENDS+= pkgconf:${PORTSDIR}/devel/pkgconf -.endif -.if ${USE_PKGCONFIG:L} == build +.if ${USE_PKGCONFIG:L} == yes || ${USE_PKGCONFIG:L} == build BUILD_DEPENDS+= pkgconf:${PORTSDIR}/devel/pkgconf CONFIGURE_ENV+= PKG_CONFIG=pkgconf -.endif -.if ${USE_PKGCONFIG:L} == both +.elif ${USE_PKGCONFIG:L} == both RUN_DEPENDS+= pkgconf:${PORTSDIR}/devel/pkgconf BUILD_DEPENDS+= pkgconf:${PORTSDIR}/devel/pkgconf CONFIGURE_ENV+= PKG_CONFIG=pkgconf +.elif ${USE_PKGCONFIG:L} == run +RUN_DEPENDS+= pkgconf:${PORTSDIR}/devel/pkgconf .endif .endif