ports/140058: [MAINTAINER] security/gpgme: Specifically disable gpgsm if it is not installed

Jason E. Hale bsdkaffee at gmail.com
Wed Oct 28 19:20:02 UTC 2009

>Number:         140058
>Category:       ports
>Synopsis:       [MAINTAINER] security/gpgme: Specifically disable gpgsm if it is not installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 28 19:20:01 UTC 2009
>Originator:     Jason E. Hale
>Release:        FreeBSD 7.2-RELEASE i386
System: FreeBSD mocha.verizon.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon May 4 04:03:46 EDT 2009 root at mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA7 i386
- gpgsm is a non-default option in security/gnupg, so disable it in the build
if it is not installed instead of specifying the path. This helps with
debugging problems in certain programs.
- bump PORTREVISION since this will affect the installed files
Use attached diff.
--- 2009-10-14-gpgme.diff begins here ---
diff -ruN gpgme.orig/Makefile gpgme/Makefile
--- gpgme.orig/Makefile	2009-10-14 19:06:57.000000000 -0400
+++ gpgme/Makefile	2009-10-14 19:30:36.000000000 -0400
@@ -7,6 +7,7 @@
 PORTNAME=	gpgme
 CATEGORIES=	security
@@ -45,8 +46,12 @@
 BUILD_DEPENDS+=	gpg2:${PORTSDIR}/security/gnupg
 RUN_DEPENDS+=	gpg2:${PORTSDIR}/security/gnupg
 CONFIGURE_ARGS+=--with-gpg=${LOCALBASE}/bin/gpg2 \
-		--with-gpgsm=${LOCALBASE}/bin/gpgsm \
+.if exists(${LOCALBASE}/bin/gpgsm)
 .if defined(WITH_PTH)
--- 2009-10-14-gpgme.diff ends here ---


More information about the freebsd-ports-bugs mailing list