tech-pkg archive

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

buildlink issue with symlink include subdir



The graphics/wcslib package installs (among other things)


    include/wcslib

which is a symlink to include/${PKGNAME}

 ls -ld /usr/pkg/include/wcslib*
lrwxr-xr-x 1 root wheel 11 Oct 15 13:43 /usr/pkg/include/wcslib -> wcslib-7.11
drwxr-xr-x  2 root  wheel  1024 Oct 15 13:43 /usr/pkg/include/wcslib-7.11

but if you then have another package that depends on this package (via buildlink) the wcslib symlink does not get added to the .buildlink/include tree and if that package then tries to
"-I/usr/pkg/include/wcslib"  as per the wcslib pkgconf file it fails.

Any suggestions on the best way to fix this?

Currently I have a hack in the calling package that does

pre-configure:
        ${LN}  -s wcslib-7.11 ${BUILDLINK_DIR}/include/wcslib



cheers
mark


Home | Main Index | Thread Index | Old Index