Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2021 15:21:00 GMT
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 409e26f66b53 - main - mail/notmuch-emacs: Prevent package name collision
Message-ID:  <202111151521.1AFFL0eq008422@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=409e26f66b537f17b733b31cf3c8a8c5c3cc82c5

commit 409e26f66b537f17b733b31cf3c8a8c5c3cc82c5
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2021-11-05 03:11:28 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2021-11-15 15:20:10 +0000

    mail/notmuch-emacs: Prevent package name collision
    
    With the default emacs flavor, EMACS_PKGNAMESUFFIX is no longer appended
    to package names.  This means the default package name for
    mail/notmuch-emacs conflicts with the package name for mail/notmuch.
    Fix this by directly adding the PKGNAMESUFFIX '-emacs' here.
---
 mail/notmuch-emacs/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/mail/notmuch-emacs/Makefile b/mail/notmuch-emacs/Makefile
index 01444bfe874c..eb8809c50d57 100644
--- a/mail/notmuch-emacs/Makefile
+++ b/mail/notmuch-emacs/Makefile
@@ -1,7 +1,6 @@
 PORTREVISION=	1
 CATEGORIES=	mail elisp
-PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
-
+PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX:S/^$/-emacs/}
 COMMENT=	Emacs major-mode for the Notmuch email search and tagging application
 
 LICENSE=	GPLv3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111151521.1AFFL0eq008422>