aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Moore <kmoore@FreeBSD.org>2016-07-28 17:27:00 +0000
committerKris Moore <kmoore@FreeBSD.org>2016-07-28 17:27:00 +0000
commitf59fa65eb0c05ca26e00590ec6e2935536ae2c84 (patch)
tree231a1c969259377b2f26275378bd4871d39b1172
parent7d0cd34ee1c037e5aa90e0bbcd4e92f96b60737f (diff)
downloadports-f59fa65eb0c05ca26e00590ec6e2935536ae2c84.tar.gz
ports-f59fa65eb0c05ca26e00590ec6e2935536ae2c84.zip
Notes
-rw-r--r--sysutils/pefs-kmod/Makefile12
-rw-r--r--sysutils/pefs-kmod/pkg-plist6
2 files changed, 12 insertions, 6 deletions
diff --git a/sysutils/pefs-kmod/Makefile b/sysutils/pefs-kmod/Makefile
index faa93c6e34fa..81b7212ba69d 100644
--- a/sysutils/pefs-kmod/Makefile
+++ b/sysutils/pefs-kmod/Makefile
@@ -24,10 +24,22 @@ OPTIONS_DEFINE= AESNI
OPTIONS_DEFAULT=
AESNI_DESC= Enable AES-NI hardware acceleration
+PLIST_FILES= sbin/pefs \
+ lib/pam_pefs.so \
+ man/man8/pam_pefs.8.gz \
+ man/man8/pefs.8.gz \
+ /${KMODDIR}/pefs.ko
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAESNI}
MAKE_ENV+= PEFS_AESNI=yes
.endif
+.if ${OSVERSION} >= 1100117
+PLIST_FILES+= lib/pam_pefs.so.6
+.else
+PLIST_FILES+= lib/pam_pefs.so.5
+.endif
+
.include <bsd.port.mk>
diff --git a/sysutils/pefs-kmod/pkg-plist b/sysutils/pefs-kmod/pkg-plist
deleted file mode 100644
index e9eaef77510a..000000000000
--- a/sysutils/pefs-kmod/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-sbin/pefs
-lib/pam_pefs.so
-lib/pam_pefs.so.5
-man/man8/pam_pefs.8.gz
-man/man8/pefs.8.gz
-/%%KMODDIR%%/pefs.ko