pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/38651 (libkver won't install in pkg_comp any more)
The following reply was made to PR pkg/38651; it has been noted by GNATS.
From: Stephen Borrill <sborrill%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/38651 (libkver won't install in pkg_comp any more)
Date: Wed, 17 Jun 2015 09:43:13 +0100
The following patch fixes this for me. Yes, it's not pretty and means
the man pages, etc. go into /libkver too, but for the purposes of
pkg_comp that's unimportant.
--- pkgtools/libkver/Makefile 9 Oct 2014 14:06:49 -0000 1.36
+++ pkgtools/libkver/Makefile 17 Jun 2015 08:41:38 -0000
@@ -47,7 +47,9 @@
LIBKVER_STANDALONE_PREFIX?= /libkver
standalone-install:
- ${MAKE} ${MAKEFLAGS} PKG_DBDIR=${LIBKVER_STANDALONE_PREFIX:Q}/pkg \
- PREFIX=${LIBKVER_STANDALONE_PREFIX:Q} install
+ ${MKDIR} ${DESTDIR}${LIBKVER_STANDALONE_PREFIX} && \
+ ${MKDIR} ${DESTDIR}${LIBKVER_STANDALONE_PREFIX}/lib
+ ${MAKE} ${MAKEFLAGS} \
+ STANDALONE_INSTALL=${LIBKVER_STANDALONE_PREFIX:Q}
PREFIX=${LIBKVER_STANDALONE_PREFIX:Q} install
.include "../../mk/bsd.pkg.mk"
--
Stephen
Home |
Main Index |
Thread Index |
Old Index