pkgsrc-WIP-changes archive

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

libepoll-shim: fix do-install if building as non-root



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Fri Apr 26 20:44:47 2019 +0300
Changeset:	4491b6b2389fb6c448731bf936137e8e037003f9

Modified Files:
	libepoll-shim/Makefile

Log Message:
libepoll-shim: fix do-install if building as non-root

(do the install step unprivileged)

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

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

diffstat:
 libepoll-shim/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/libepoll-shim/Makefile b/libepoll-shim/Makefile
index f21f7f11ba..a95ee8252b 100644
--- a/libepoll-shim/Makefile
+++ b/libepoll-shim/Makefile
@@ -30,6 +30,8 @@ BUILDLINK_TRANSFORM+=	rm:-Wno-thread-safety-analysis
 
 INSTALLATION_DIRS=	lib include/libepoll-shim/sys
 
+MAKE_ENV+=		INSTPRIV=-U
+
 post-install:
 	cp ${WRKSRC}/include/sys/*.h ${DESTDIR}${PREFIX}/include/libepoll-shim/sys
 


Home | Main Index | Thread Index | Old Index