diff options
Diffstat (limited to 'chat')
-rw-r--r-- | chat/atheme/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chat/atheme/Makefile b/chat/atheme/Makefile index 0ea21202459..809eba2a7e3 100644 --- a/chat/atheme/Makefile +++ b/chat/atheme/Makefile @@ -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 @@ INSTALLATION_DIRS+= ${EGDIR} 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 |