pkgsrc-WIP-changes archive

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

libpthread_dbg: Install header pthread_dbg.h



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Feb 8 01:43:31 2017 +0100
Changeset:	b7b2963fa5574f0a2229b9b5d8213836586e12f9

Modified Files:
	libpthread_dbg/Makefile
	libpthread_dbg/PLIST

Log Message:
libpthread_dbg: Install header pthread_dbg.h

Use post-install script as the files/Makefile has no effect (unknown reason?).

Sponsored by <The NetBSD Foundation>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b7b2963fa5574f0a2229b9b5d8213836586e12f9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libpthread_dbg/Makefile | 4 ++++
 libpthread_dbg/PLIST    | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diffs:
diff --git a/libpthread_dbg/Makefile b/libpthread_dbg/Makefile
index 311fc291a6..d3c73be394 100644
--- a/libpthread_dbg/Makefile
+++ b/libpthread_dbg/Makefile
@@ -18,4 +18,8 @@ PKGSRC_LOCKTYPE=	none	# avoid "bootstrapping problem"
 do-extract:
 	${CP} -R ${FILESDIR} ${WRKSRC}
 
+# XXX: What's wrong with files/Makefile?
+post-install:
+	${CP} ${WRKSRC}/pthread_dbg.h ${DESTDIR}${PREFIX}/include
+
 .include "../../mk/bsd.pkg.mk"
diff --git a/libpthread_dbg/PLIST b/libpthread_dbg/PLIST
index f4506f9b55..d834f1b03d 100644
--- a/libpthread_dbg/PLIST
+++ b/libpthread_dbg/PLIST
@@ -1,4 +1,5 @@
 @comment $NetBSD$
+include/pthread_dbg.h
 lib/libpthread_dbg.a
 lib/libpthread_dbg.so
 lib/libpthread_dbg.so.2
@@ -12,4 +13,3 @@ man/man3/td_open.3
 man/man3/td_thr_getname.3
 man/man3/td_thr_info.3
 man/man3/td_thr_iter.3
-@pkgdir include


Home | Main Index | Thread Index | Old Index