pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/56362: math/cgal embeds $WRKDIR in installed cmake files
>Number: 56362
>Category: pkg
>Synopsis: math/cgal embeds $WRKDIR in installed cmake files
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 15 09:15:01 +0000 2021
>Originator: Paul Ripke
>Release: NetBSD 9.2
>Organization:
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.
>Environment:
System: NetBSD slave 9.2 NetBSD 9.2 (SLAVE) #9: Sat May 15 17:19:33 AEST 2021 stix@slave:/home/netbsd/netbsd-9/obj.amd64/home/netbsd/netbsd-9/src/sys/arch/amd64/compile/SLAVE amd64
Architecture: x86_64
Machine: amd64
>Description:
math/cgal from pkgsrc embeds $WRKDIR in installed cmake files:
hactar:ksh$ grep pkgwrk /usr/pkg/lib/cmake/CGAL/*.cmake
/usr/pkg/lib/cmake/CGAL/CGALConfig.cmake: set( GMP_INCLUDE_DIR "/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include" )
/usr/pkg/lib/cmake/CGAL/CGALConfig.cmake: set( GMP_LIBRARIES "/usr/tmp/pkgwrk/math/cgal/work/.buildlink/lib/libgmp.so" )
/usr/pkg/lib/cmake/CGAL/CGALConfig.cmake: set( MPFR_INCLUDE_DIR "/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include" )
/usr/pkg/lib/cmake/CGAL/CGALConfig.cmake: set( MPFR_LIBRARIES "/usr/tmp/pkgwrk/math/cgal/work/.buildlink/lib/libmpfr.so" )
/usr/pkg/lib/cmake/CGAL/CGALExports.cmake: INTERFACE_INCLUDE_DIRECTORIES "/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include;/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include;/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include;${_IMPORT_PREFIX}/include"
/usr/pkg/lib/cmake/CGAL/CGALExports.cmake: INTERFACE_LINK_LIBRARIES "/usr/tmp/pkgwrk/math/cgal/work/.buildlink/lib/libmpfr.so;/usr/tmp/pkgwrk/math/cgal/work/.buildlink/lib/libgmp.so"
/usr/pkg/lib/cmake/CGAL/CGALExports.cmake: INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include;/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include;/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include"
/usr/pkg/lib/cmake/CGAL/CGAL_CoreExports.cmake: INTERFACE_INCLUDE_DIRECTORIES "/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include;/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include"
/usr/pkg/lib/cmake/CGAL/CGAL_CoreExports.cmake: INTERFACE_LINK_LIBRARIES "/usr/tmp/pkgwrk/math/cgal/work/.buildlink/lib/libmpfr.so;/usr/tmp/pkgwrk/math/cgal/work/.buildlink/lib/libgmp.so;CGAL::CGAL;Boost::thread"
/usr/pkg/lib/cmake/CGAL/CGAL_CoreExports.cmake: INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include;/usr/tmp/pkgwrk/math/cgal/work/.buildlink/include"
>How-To-Repeat:
Install math/cgal from pkgsrc, both HEAD and pkgsrc-2021Q2 tested.
>Fix:
I haven't figured out a nice fix for this; the internal substitution
is non-obvious to me.
Home |
Main Index |
Thread Index |
Old Index