pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/atheme atheme: Avoid requiring git to generate a ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d4620dc42234
branches: trunk
changeset: 405996:d4620dc42234
user: nia <nia%pkgsrc.org@localhost>
date: Thu Dec 12 20:28:55 2019 +0000
description:
atheme: Avoid requiring git to generate a header file.
diffstat:
chat/atheme/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 0ed473583812 -r d4620dc42234 chat/atheme/Makefile
--- a/chat/atheme/Makefile Thu Dec 12 20:19:08 2019 +0000
+++ b/chat/atheme/Makefile Thu Dec 12 20:28:55 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2019/12/10 13:21:36 nia Exp $
+# $NetBSD: Makefile,v 1.19 2019/12/12 20:28:55 nia Exp $
DISTNAME= atheme-v7.2.10-r2
PKGNAME= ${DISTNAME:S/-v/-/1:S/-r/.r/1}
@@ -86,6 +86,10 @@
PKGCONFIG_OVERRIDE+= atheme-services.pc.in
+# It tries to use git to generate this.
+pre-build:
+ ${ECHO} '#define SERNO "${PKGVERSION_NOREV}-pkgsrc"' > ${WRKSRC}/include/serno.h
+
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/dbverify \
${DESTDIR}${PREFIX}/bin/atheme-dbverify
Home |
Main Index |
Thread Index |
Old Index