pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/alpine



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sun Jan 15 17:31:01 UTC 2023

Modified Files:
        pkgsrc/mail/alpine: Makefile

Log Message:
alpine: fix subst on macOS

The alpine's Makefile has source string substitution for panic( to Panic(.
However, both the file name search pattern and the replacement string search
pattern is no longer complete, causing some alpine_panic() to still exist,
while the definition has changed to alpine_Panic().

>From kflu via github.

Closes NetBSD/pkgsrc#113


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/mail/alpine/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/alpine/Makefile
diff -u pkgsrc/mail/alpine/Makefile:1.51 pkgsrc/mail/alpine/Makefile:1.52
--- pkgsrc/mail/alpine/Makefile:1.51    Tue Jun 28 11:34:16 2022
+++ pkgsrc/mail/alpine/Makefile Sun Jan 15 17:31:01 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2022/06/28 11:34:16 wiz Exp $
+# $NetBSD: Makefile,v 1.52 2023/01/15 17:31:01 bsiegert Exp $
 
 DISTNAME=      alpine-2.25
 PKGREVISION=   2
@@ -43,8 +43,10 @@ SUBST_CLASSES.Darwin+=       panic
 SUBST_STAGE.panic=     pre-configure
 SUBST_MESSAGE.panic=   Renaming the panic function
 SUBST_FILES.panic=     */*.c
+SUBST_FILES.panic+=    */*/*.c
+SUBST_FILES.panic+=    */*/*/*.c
 SUBST_FILES.panic+=    pith/util.h
-SUBST_SED.panic+=      -e 's,panic(,Panic(,g'
+SUBST_SED.panic+=      -e 's,panic *(,Panic(,g'
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/alpine/alpine ${DESTDIR}${PREFIX}/bin/alpine



Home | Main Index | Thread Index | Old Index