pkgsrc-Bugs archive

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

Re: pkg/47242: pkgtools/pkg_install fails to build with option "openssl"



The following reply was made to PR pkg/47242; it has been noted by GNATS.

From: Richard PALO <richard.palo%free.fr@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/47242: pkgtools/pkg_install fails to build with option 
"openssl"
Date: Fri, 14 Feb 2014 19:15:08 +0100

 The recent revbump of pkg_install provoked this problem again.
 
 The following patch seems to get over the problem for me, namely
 avoiding redefinition of PKG_INFO_CMD if it exists already, which should 
 only happen in non-bootstrap builds.
 
 richard@devzone:~/src/pkgsrc/pkgtools/pkg_install$ cvs diff
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/pkgtools/pkg_install/Makefile,v
 retrieving revision 1.200
 diff -u -r1.200 Makefile
 --- Makefile    12 Feb 2014 23:18:28 -0000      1.200
 +++ Makefile    14 Feb 2014 18:14:31 -0000
 @@ -59,7 +59,13 @@
   PKG_ADD_CMD=           ${WRKSRC}/add/pkg_add
   PKG_CREATE_CMD=                ${WRKSRC}/create/pkg_create
   PKG_DELETE_CMD=                ${WRKSRC}/delete/pkg_delete
 +#
 +#  Special case for dependency checking in 'non-bootstrap' builds:
 +#  don't redefine 'pkg_info' if it already exists.
 +#
 +.  if defined(PKG_INFO_CMD) && !exists(${PKG_INFO_CMD})
   PKG_INFO_CMD=          ${WRKSRC}/info/pkg_info
 +.  endif
   .endif
 
   CPPFLAGS+=             -D_LARGEFILE_SOURCE -D_LARGE_FILES
 


Home | Main Index | Thread Index | Old Index