tech-pkg archive

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

Re: sysutils/strigi cannot find textproc/libxml2 in bootstrap pkgsrc

Thomas Klausner writes:
 > cmake is different because it is a built-time dependency, it will not
 > be registered in the binary packages. So if your changes don't cause
 > any changes in the build process and thus the binary packages, you do
 > not need to bump PKGREVISIONs of packages using cmake.

Makes sense.  Thanks.

 > What obache said about API/ABI here is correct -- for cmake, this
 > distinction does not make sense, so just bump API.

Thanks for the clarification.  So, I should do the following (plus the
other changes): i.e., bump the cmake revision and update to the same

     Index: devel/cmake/Makefile
     RCS file: /cvsroot/pkgsrc/devel/cmake/Makefile,v
     retrieving revision 1.58
     diff -u -r1.58 Makefile
     --- devel/cmake/Makefile   31 Jul 2011 22:04:03 -0000      1.58
     +++ devel/cmake/Makefile   9 Sep 2011 17:56:20 -0000
     @@ -1,6 +1,7 @@
      # $NetBSD: Makefile,v 1.58 2011/07/31 22:04:03 adam Exp $

      DISTNAME= cmake-${CMAKE_API}.5
     +PKGREVISION=      1
      CATEGORIES=       devel

     Index: devel/cmake/
     RCS file: /cvsroot/pkgsrc/devel/cmake/,v
     retrieving revision 1.10
     diff -u -r1.10
     --- devel/cmake/      20 Mar 2009 19:24:11 -0000      1.10
     +++ devel/cmake/      9 Sep 2011 17:56:20 -0000
     @@ -5,7 +5,7 @@
      .if !defined(CMAKE_BUILDLINK3_MK)

     -BUILDLINK_API_DEPENDS.cmake+=     cmake>=2.4.6nb3
     +BUILDLINK_API_DEPENDS.cmake+=     cmake>=2.8.5nb1
      BUILDLINK_PKGSRCDIR.cmake?=       ../../devel/cmake
      BUILDLINK_DEPMETHOD.cmake?=       build
      BUILDLINK_FILES.cmake+=           share/cmake-*/include/*

I am still unclear on whether I should be substituting PREFIX or
LOCALBASE into the cmake files that ultimately become installed for
later use when cmake is run.

Thanks for your help.


Home | Main Index | Thread Index | Old Index