[kde-freebsd] ports/185951: astro/cfitsio: DT_SONAME of libcfitsio.so.0 points to nonexisting file

Raphael Kubo da Costa rakuco at freebsd.org
Wed Jan 22 14:23:44 UTC 2014


"Florian Degner" <f.degner at gmx.de> writes:

>  do-install:
>  	cd ${WRKSRC}/ && ${INSTALL_DATA} drvrsmem.h fitsio.h fitsio2.h longnam.h ${STAGEDIR}${PREFIX}/include/
> -	cd ${WRKSRC}/ && ${INSTALL_LIB} libcfitsio.so.0 ${STAGEDIR}${PREFIX}/lib/
> +	cd ${WRKSRC}/ && ${INSTALL_LIB} libcfitsio.so.1.3.35 ${STAGEDIR}${PREFIX}/lib/
>  	cd ${WRKSRC}/ && ${INSTALL_DATA} cfitsio.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
> -	${LN} -fs libcfitsio.so.0 ${STAGEDIR}${PREFIX}/lib/libcfitsio.so
> +	${LN} -fs libcfitsio.so.1.3.35 ${STAGEDIR}${PREFIX}/lib/libcfitsio.so.1
> +	${LN} -fs libcfitsio.so.1 ${STAGEDIR}${PREFIX}/lib/libcfitsio.so

I couldn't help taking a look at the port's build system myself, and it
looks like it already takes care of creating the appropriate symlinks,
so just installing libcfitsio.so, libcfitsio.so.1 and
libcfitsio.so.1.3.35 and removing all the ${LN} calls should work and
look cleaner.

The kstars change looks fine (with my kde@ hat).


More information about the kde-freebsd mailing list