summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-05-01 18:35:22 +0000
committertron <tron@pkgsrc.org>1999-05-01 18:35:22 +0000
commit02bb23dc2f404b7a30daa01ea6c5a3e46dd01c53 (patch)
tree6f782c900bb6a9d2a8bde05242c4e885b3959290 /devel
parent7ca62abc69ae0ada3c87bf9510c19a3e1de5240a (diff)
downloadpkgsrc-02bb23dc2f404b7a30daa01ea6c5a3e46dd01c53.tar.gz
Nuke private definitions of "BINOWN" and "BINGRP" so that files don't
get installed under the id of the user which compiled the package.
Diffstat (limited to 'devel')
-rw-r--r--devel/mit-pthreads/Makefile9
-rw-r--r--devel/mit-pthreads/patches/patch-ah15
2 files changed, 18 insertions, 6 deletions
diff --git a/devel/mit-pthreads/Makefile b/devel/mit-pthreads/Makefile
index 68cbbf89368..24895c6c146 100644
--- a/devel/mit-pthreads/Makefile
+++ b/devel/mit-pthreads/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 1999/05/01 18:13:07 tron Exp $
+# $NetBSD: Makefile,v 1.17 1999/05/01 18:35:22 tron Exp $
#
DISTNAME= pthreads-1_60_beta6
@@ -20,8 +20,9 @@ pre-install:
post-install:
@${RM} -f ${PREFIX}/pthreads/lib/libpthread_pic.a
- find ${PREFIX}/pthreads/include -name '*.orig'|xargs rm
- find ${PREFIX}/pthreads/include -type f -print|xargs chmod 644
- find ${PREFIX}/pthreads/include -type d -print|xargs chmod 755
+ @find ${PREFIX}/pthreads/include -name '*.orig'|xargs rm
+ @find ${PREFIX}/pthreads/include -type f -print|xargs chmod 644
+ @find ${PREFIX}/pthreads/include -type d -print|xargs chmod 755
+ @${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/pthreads/include
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/mit-pthreads/patches/patch-ah b/devel/mit-pthreads/patches/patch-ah
index 157e532a834..cd173f171cc 100644
--- a/devel/mit-pthreads/patches/patch-ah
+++ b/devel/mit-pthreads/patches/patch-ah
@@ -1,7 +1,18 @@
-$NetBSD: patch-ah,v 1.3 1999/04/30 14:04:56 bad Exp $
+$NetBSD: patch-ah,v 1.4 1999/05/01 18:35:22 tron Exp $
--- config/Makefile.in.orig Fri Mar 22 05:29:54 1996
-+++ config/Makefile.in Fri Apr 30 15:13:48 1999
++++ config/Makefile.in Sat May 1 20:27:07 1999
+@@ -18,8 +18,8 @@
+
+ # Standard bsd install rules look for the "install" program, rather than
+ # using some variable. So, hack things so that that install rule works.
+-BINGRP != echo " " `groups` " " | sed 's/ [0-9][0-9]* / /g' | awk '{print $$1}'
+-BINOWN != echo $${USER}
++#BINGRP != echo " " `groups` " " | sed 's/ [0-9][0-9]* / /g' | awk '{print $$1}'
++#BINOWN != echo $${USER}
+ LIBMODE = 644 # so ranlib can run!
+
+ .include "config.flags"
@@ -29,7 +29,7 @@
# pathname for srcdir here, and live with it.
srcdir = $(srctop)