Bug 277955 - security/cyrus-sasl2-gssapi: build failure due to gmake usage
Summary: security/cyrus-sasl2-gssapi: build failure due to gmake usage
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Hajimu UMEMOTO
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-25 17:57 UTC by O. Hartmann
Modified: 2024-03-26 13:37 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ume)


Attachments
correct build with gmake (996 bytes, patch)
2024-03-25 17:57 UTC, O. Hartmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2024-03-25 17:57:17 UTC
Created attachment 249481 [details]
correct build with gmake

Pn most recent CURRENT with recent ports tree, build of port

security/cyrus-sasl2-gssapi

fails with error:

[...]
===>  Building for cyrus-sasl-gssapi-2.1.28
cd /usr/ports/security/cyrus-sasl2-gssapi/work/cyrus-sasl-2.1.28/include && gmake
: invalid option -- D


The attached patch mitigates the problem (workaround, I did not see a more sophisticated style, patch is taken from other corrected ports with the same issue).
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-03-26 13:35:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05da8f099af396281185eda3208db1c07629a85f

commit 05da8f099af396281185eda3208db1c07629a85f
Author:     Hajimu UMEMOTO <ume@FreeBSD.org>
AuthorDate: 2024-03-26 13:31:41 +0000
Commit:     Hajimu UMEMOTO <ume@FreeBSD.org>
CommitDate: 2024-03-26 13:34:44 +0000

    security/cyrus-sasl2: Better usage for gmake.

    PR:             277955
    Reported by:    O. Hartmann <ohartmann@walstatt.org>

 security/cyrus-sasl2/Makefile.common | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
Comment 2 Hajimu UMEMOTO freebsd_committer freebsd_triage 2024-03-26 13:37:44 UTC
Thanks for your report!
I've just fixed it.