aboutsummaryrefslogtreecommitdiff
path: root/security/softether5
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-01-26 16:43:15 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-01-26 16:45:29 +0000
commitd709ba8de8ec14887beffe99233eec09b26b7ed1 (patch)
tree18567a689ffe0b8dfc0387992dc5e60f363c3730 /security/softether5
parent7ca8ca55535eb03027d5631b2876642f652f0888 (diff)
downloadports-d709ba8de8ec14887beffe99233eec09b26b7ed1.tar.gz
ports-d709ba8de8ec14887beffe99233eec09b26b7ed1.zip
devel/cpu_features: Install cmake files, install headers into a dedicated directory
do-install is removed in favor of project's install target, Also update 3 other ports to build with cpu_features. PR: 261252 Approved by: skreuzer@ (maintainer)
Diffstat (limited to 'security/softether5')
-rw-r--r--security/softether5/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/softether5/Makefile b/security/softether5/Makefile
index 3ed91a1caedc..17b4d28cf2fa 100644
--- a/security/softether5/Makefile
+++ b/security/softether5/Makefile
@@ -35,6 +35,8 @@ CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DSE_LOGDIR="${SE_LOGDIR}" \
-DSE_PIDDIR="${SE_PIDDIR}"
+CFLAGS+= -I${LOCALBASE}/include/cpu_features
+
OPTIONS_DEFINE= DOCS
PORTDOCS= DISCLAIMER.md WARNING.TXT
@@ -54,7 +56,7 @@ SUB_FILES= pkg-message
# skip cpu_features when devel/cpu_features is not available
CMAKE_BOOL_ON+= SKIP_CPU_FEATURES
.else
-BUILD_DEPENDS+= ${LOCALBASE}/include/cpu_features_macros.h:devel/cpu_features
+BUILD_DEPENDS+= ${LOCALBASE}/include/cpu_features/cpu_features_macros.h:devel/cpu_features
LIB_DEPENDS+= libcpu_features.so:devel/cpu_features
.endif