pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/aerc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jul 24 19:30:15 UTC 2024

Modified Files:
        pkgsrc/mail/aerc: Makefile

Log Message:
aerc: remove file in post-install to make patch regeneration easier


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/mail/aerc/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/aerc/Makefile
diff -u pkgsrc/mail/aerc/Makefile:1.13 pkgsrc/mail/aerc/Makefile:1.14
--- pkgsrc/mail/aerc/Makefile:1.13      Wed Jul 24 13:50:55 2024
+++ pkgsrc/mail/aerc/Makefile   Wed Jul 24 19:30:15 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2024/07/24 13:50:55 ktnb Exp $
+# $NetBSD: Makefile,v 1.14 2024/07/24 19:30:15 wiz Exp $
 
 DISTNAME=      0.18.1
 PKGNAME=       aerc-${DISTNAME}
@@ -43,18 +43,16 @@ GO_LDFLAGS+=        -X git.sr.ht/~rjarry/aerc/c
 GO_LDFLAGS+=   -X git.sr.ht/~rjarry/aerc/config.libexecDir=${PREFIX}/libexec/aerc
 MAKE_ENV+=     CGO_LDFLAGS=${CGO_LDFLAGS:Q}
 
-# due to a wildcard in GNUmakefile, the .orig from patching gets
-# installed, so we have to remove it for now.
-# https://todo.sr.ht/~rjarry/aerc/269
-do-configure:
-       ${RM} ${WRKSRC}/filters/wrap.c.orig
-
 do-build:
        cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV}    \
            GOPATH=${WRKDIR}/.gopath ${GO} ${GOFLAGS} build ${GO_BUILD_TAGS} -ldflags=${GO_LDFLAGS:Q} -o aerc
 
+# due to a wildcard in GNUmakefile, the .orig from patching gets
+# installed, so we have to remove it for now.
+# https://todo.sr.ht/~rjarry/aerc/269
 do-install:
        cd ${WRKSRC} && ${GMAKE} ${INSTALL_MAKE_FLAGS} install
+       ${RM} ${DESTDIR}${PREFIX}/libexec/aerc/filters/wrap.c.orig
 
 .include "options.mk"
 .include "go-modules.mk"



Home | Main Index | Thread Index | Old Index