Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/flatbuffers (devel/flatbuffers) Adhoc package st...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e0a48ab2b9e
branches:  trunk
changeset: 431117:9e0a48ab2b9e
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat May 09 13:46:59 2020 +0000

description:
(devel/flatbuffers) Adhoc package stage fix, to remove *.h.orig

diffstat:

 devel/flatbuffers/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 97c94761518a -r 9e0a48ab2b9e devel/flatbuffers/Makefile
--- a/devel/flatbuffers/Makefile        Sat May 09 13:28:09 2020 +0000
+++ b/devel/flatbuffers/Makefile        Sat May 09 13:46:59 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/01/18 23:30:27 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/09 13:46:59 mef Exp $
 
 DISTNAME=      flatbuffers-1.9.0
 CATEGORIES=    devel
@@ -16,4 +16,8 @@
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=   -DFLATBUFFERS_BUILD_SHAREDLIB=ON
 
+post-install:
+       ${RM} -f ${DESTDIR}${PREFIX}/include/flatbuffers/flatbuffers.h.orig
+       ${RM} -f ${DESTDIR}${PREFIX}/include/flatbuffers/reflection.h.orig
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index