pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44425: devel/lua-alt-getopt install problem
The following reply was made to PR pkg/44425; it has been noted by GNATS.
From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%NetBSD.org@localhost, Aleksey Cheusov <cheusov%tut.by@localhost>
Subject: Re: pkg/44425: devel/lua-alt-getopt install problem
Date: Thu, 20 Jan 2011 19:06:51 +0100
At 17:55 Uhr +0000 20.01.2011, Hauke Fath wrote:
> Well, I guess the alternative is to teach <bsd.own.mk> that, although the
> conditions for inside-NetBSD-src-tree operation are met, you'd rather not.
>
> Setting
>
> INSTPRIV= # empty
>
> does that, but you'd probably want a distinct knob.
Actually, the following patch does TRT:
# pwd
/usr/share/mk
# diff -u bsd.own.mk~ bsd.own.mk
--- bsd.own.mk~ 2010-09-24 13:21:40.000000000 +0200
+++ bsd.own.mk 2011-01-20 19:02:21.000000000 +0100
@@ -732,6 +732,7 @@
HRDLINK?= -l h
SYMLINK?= -l s
+.if ${NEED_OWN_INSTALL_TARGET} != "no"
METALOG?= ${DESTDIR}/METALOG
METALOG.add?= ${TOOL_CAT} -l >> ${METALOG}
.if (${_SRC_TOP_} != "") # only set INSTPRIV if inside ${NETBSDSRCDIR}
@@ -744,7 +745,6 @@
.endif
STRIPFLAG?=
-.if ${NEED_OWN_INSTALL_TARGET} != "no"
INSTALL_DIR?= ${INSTALL} ${INSTPRIV} -d
INSTALL_FILE?= ${INSTALL} ${INSTPRIV} ${COPY} ${PRESERVE} ${RENAME}
INSTALL_LINK?= ${INSTALL} ${INSTPRIV} ${HRDLINK} ${RENAME}
#
Anybody see any unwanted side-effects?
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281
Home |
Main Index |
Thread Index |
Old Index