Changeset View
Changeset View
Standalone View
Standalone View
devel/libopkele/Makefile
Show All 35 Lines | |||||
# If we use the base OpenSSL either by default or | # If we use the base OpenSSL either by default or | ||||
# by design, we need to remove the openssl dependency | # by design, we need to remove the openssl dependency | ||||
# in pkgconfig/libopkele.pc. | # in pkgconfig/libopkele.pc. | ||||
post-patch: | post-patch: | ||||
@ ${REINPLACE_CMD} -e "s|pkgconfigdir =.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g" \ | @ ${REINPLACE_CMD} -e "s|pkgconfigdir =.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g" \ | ||||
${WRKSRC}/Makefile.in | ${WRKSRC}/Makefile.in | ||||
.if !defined(WITH_OPENSSL_PORT) | .if ${SSL_DEFAULT} == base | ||||
@ ${REINPLACE_CMD} -e "s|Requires: openssl|Requires:|" ${WRKSRC}/libopkele.pc.in | @ ${REINPLACE_CMD} -e "s|Requires: openssl|Requires:|" ${WRKSRC}/libopkele.pc.in | ||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |