diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-04 10:53:01 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-04 10:53:01 +0000 |
commit | e067ed47e5dbdb909a509bd1a82802faade8856a (patch) | |
tree | 1de2f49db325c1bea144980c274c637d66cdebf6 /net/relayd/Makefile | |
parent | 22aed26cec0cd4e22ed1af90a6c93feb465343ba (diff) | |
download | ports-e067ed47e5dbdb909a509bd1a82802faade8856a.tar.gz ports-e067ed47e5dbdb909a509bd1a82802faade8856a.zip |
Notes
Diffstat (limited to 'net/relayd/Makefile')
-rw-r--r-- | net/relayd/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/net/relayd/Makefile b/net/relayd/Makefile index bd3de68a902d..b5f9743721ed 100644 --- a/net/relayd/Makefile +++ b/net/relayd/Makefile @@ -2,7 +2,7 @@ PORTNAME= relayd PORTVERSION= 5.5.20140810 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= net MAINTAINER= koue@chaosophia.net @@ -25,13 +25,6 @@ MAKE_ARGS+= BINDIR=${PREFIX}/sbin \ USERS= _relayd GROUPS= _relayd -post-patch: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ - ${WRKSRC}/relayd/relay.c \ - ${WRKSRC}/relayd/relayd.h \ - ${WRKSRC}/relayd/relayd.conf.5 \ - ${WRKSRC}/relayd/relayd.8 - post-install: @${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \ ${STAGEDIR}${PREFIX}/etc/relayd.conf.sample @@ -48,6 +41,11 @@ BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage CFLAGS+= -I${STAGEDIR_libressl}${LOCALBASE}/include post-configure: + ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ + ${WRKSRC}/relayd/relay.c \ + ${WRKSRC}/relayd/relayd.h \ + ${WRKSRC}/relayd/relayd.conf.5 \ + ${WRKSRC}/relayd/relayd.8 ${REINPLACE_CMD} 's|-lssl|${STAGEDIR_libressl}${LOCALBASE}/lib/libssl.a|g' \ ${WRKSRC}/relayd/Makefile ${REINPLACE_CMD} 's|-lcrypto|${STAGEDIR_libressl}${LOCALBASE}/lib/libcrypto.a|g' \ |