diff options
author | Koichiro Iwao <meta@FreeBSD.org> | 2020-05-22 10:35:49 +0000 |
---|---|---|
committer | Koichiro Iwao <meta@FreeBSD.org> | 2020-05-22 10:35:49 +0000 |
commit | 11aa7d037f588fcd3211159c368394372cd29241 (patch) | |
tree | 511ee5b8c1b20c514661625942b887e2a1506f76 /security/softether5 | |
parent | c6620f86e6f3eb7fa20165783384baa40825d8a2 (diff) | |
download | ports-11aa7d037f588fcd3211159c368394372cd29241.tar.gz ports-11aa7d037f588fcd3211159c368394372cd29241.zip |
Notes
Diffstat (limited to 'security/softether5')
-rw-r--r-- | security/softether5/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/security/softether5/Makefile b/security/softether5/Makefile index d2d80373d323..0a592ab786f8 100644 --- a/security/softether5/Makefile +++ b/security/softether5/Makefile @@ -2,6 +2,7 @@ PORTNAME= softether DISTVERSION= 5.01.9674 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security net-vpn PKGNAMESUFFIX= 5 @@ -26,7 +27,10 @@ USE_GITHUB= yes GH_ACCOUNT= SoftEtherVPN GH_PROJECT= SoftEtherVPN -CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=RelWithDebInfo +CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DSE_DBDIR="${SE_DBDIR}" \ + -DSE_LOGDIR="${SE_LOGDIR}" \ + -DSE_PIDDIR="${SE_PIDDIR}" OPTIONS_DEFINE= DOCS UNLOCK @@ -60,15 +64,6 @@ CMAKE_BOOL_ON+= SKIP_CPU_FEATURES BUILD_DEPENDS+= ${LOCALBASE}/include/cpu_features_macros.h:devel/cpu_features .endif -post-patch: - # SoftEther scatters logs, config files and PID files in PREFIX/libexec - # directory. To write them in the right place, replace it. - ${REINPLACE_CMD} \ - -e "s|%%SE_DBDIR%%|${SE_DBDIR}|g" \ - -e "s|%%SE_LOGDIR%%|${SE_LOGDIR}|g" \ - -e "s|%%SE_PIDDIR%%|${SE_PIDDIR}|g" \ - ${WRKSRC}/src/Mayaqua/FileIO.c - post-install: @${MKDIR} ${STAGEDIR}${SE_LOGDIR} ${STAGEDIR}${SE_DBDIR} ${STAGEDIR}${SE_PIDDIR} |