aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2021-11-05 03:11:28 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2021-11-15 15:20:10 +0000
commit409e26f66b537f17b733b31cf3c8a8c5c3cc82c5 (patch)
tree09f0e7cbb2cfbc51a61037685659c1a0cd714f79
parent061afcca16999e2e4e791d4517a918d0d606d692 (diff)
downloadports-409e26f66b537f17b733b31cf3c8a8c5c3cc82c5.tar.gz
ports-409e26f66b537f17b733b31cf3c8a8c5c3cc82c5.zip
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.
-rw-r--r--mail/notmuch-emacs/Makefile3
1 files changed, 1 insertions, 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