pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44415 (pkgtools/rpm2pkg install(8) problem)
The following reply was made to PR pkg/44415; it has been noted by GNATS.
From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: Matthias Scheler <tron%NetBSD.org@localhost>
Cc: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/44415 (pkgtools/rpm2pkg install(8) problem)
Date: Wed, 19 Jan 2011 16:55:53 +0100
At 13:11 Uhr +0000 19.01.2011, Matthias Scheler wrote:
>Please provide you "/etc/mk.conf" as requested by Joerg Sonnenberger.
The following patch does the trick:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/rpm2pkg/files/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile 19 Jan 2011 11:49:18 -0000 1.2
+++ Makefile 19 Jan 2011 15:51:59 -0000
@@ -9,6 +9,8 @@
LDADD= -lbz2 -llzma -lz
WARNS= 4
+# See <bsd.own.mk>
+INSTPRIV= # empty
NEED_OWN_INSTALL_TARGET= yes
#CFLAGS+= -g
-- the system <bsd.*.mk> framework needs to be told that it is not supposed
to use the NetBSD src tree even if it's there, which is... hard. It might
be easier to just use a plain Makefile without reference to the BSD make
framework.
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