diff options
author | nia <nia@pkgsrc.org> | 2019-12-12 20:28:55 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-12-12 20:28:55 +0000 |
commit | 10ca57ad634d875e9624b842a187b50ef688db6c (patch) | |
tree | ff688ad4fbe2dae28de1ad0629b73e061b91383a /chat | |
parent | a8809d5a52a51e8166ca1e884de6cf694365b393 (diff) | |
download | pkgsrc-10ca57ad634d875e9624b842a187b50ef688db6c.tar.gz |
atheme: Avoid requiring git to generate a header file.
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 |