aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2007-08-13 15:57:48 +0800
committernovel <novel@FreeBSD.org>2007-08-13 15:57:48 +0800
commit38b56bd8d895cfba8ea0f8ee508b32cf0abd688a (patch)
treebfa788a1b73fd577a489d33b593f8e137f4aae69 /security
parent3ad68529d5248199a9e0ffabea67fb9e50fc8332 (diff)
downloadfreebsd-ports-gnome-38b56bd8d895cfba8ea0f8ee508b32cf0abd688a.tar.gz
freebsd-ports-gnome-38b56bd8d895cfba8ea0f8ee508b32cf0abd688a.tar.zst
freebsd-ports-gnome-38b56bd8d895cfba8ea0f8ee508b32cf0abd688a.zip
Resurrect handy WITH_SUID_GPG knob.
PR: 114926 Submitted by: novel Approved by: maintainer timeout
Diffstat (limited to 'security')
-rw-r--r--security/gnupg/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 2548213a0747..f85b5ea60355 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -97,6 +97,9 @@ pre-configure:
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+.if defined(WITH_SUID_GPG)
+ ${CHMOD} u+s ${PREFIX}/bin/gpg
+.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>