ports with no SONAME

blubee blubeeme gurenchan at gmail.com
Mon Oct 30 15:52:09 UTC 2017


Seems like the soname issue has to do with the linker flags set during the
compilation process.

On Mon, Oct 30, 2017 at 7:37 PM, blubee blubeeme <gurenchan at gmail.com>
wrote:

> There's an unmaintained port [graphics/togl] that I need but doing
> stage-qa on my port it says this needed port has no SONAME.
>
> Since the togl is unmaintained I'll like to fix it. This port does a lot
> of stuff like this:
>
> # do-install:
> # @${MKDIR} ${STAGEDIR}${TOGL_INSTDIR}
> # .for i in togl.h togl_ws.h pkgIndex.tcl
> # ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${TOGL_INSTDIR}
> # .endfor
> # ${INSTALL_LIB} ${WRKSRC}/libTogl1.7.so ${STAGEDIR}${TOGL_INSTDIR}
> # ${LN} -s libTogl1.7.so  ${STAGEDIR}${TOGL_INSTDIR}/libtogl.so.1
> # ${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so  ${STAGEDIR}${PREFIX}/lib/
> libtogl.so
> # ${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so  ${STAGEDIR}${PREFIX}/lib/
> libtogl.so.1
>
> # do-install-DOCS-on:
> # @${MKDIR} ${STAGEDIR}${DOCSDIR}
> # ${INSTALL_DATA} ${WRKSRC}/Togl.html ${STAGEDIR}${DOCSDIR}
>
> # do-install-EXAMPLES-on:
> # @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
> # ${INSTALL_DATA} ${WRKSRC}/Makefile ${STAGEDIR}${EXAMPLESDIR}
> # ${INSTALL_DATA} ${WRKSRC}/ben.rgb ${STAGEDIR}${EXAMPLESDIR}
> # ${INSTALL_DATA} ${WRKSRC}/double.c ${WRKSRC}/double.tcl
> ${STAGEDIR}${EXAMPLESDIR}
> # ${INSTALL_DATA} ${WRKSRC}/gears.c ${WRKSRC}/gears.tcl
> ${STAGEDIR}${EXAMPLESDIR}
> # ${INSTALL_DATA} ${WRKSRC}/image.c ${WRKSRC}/image.h
> ${STAGEDIR}${EXAMPLESDIR}
> # ${INSTALL_DATA} ${WRKSRC}/index.c ${WRKSRC}/index.tcl
> ${STAGEDIR}${EXAMPLESDIR}
> # ${INSTALL_DATA} ${WRKSRC}/overlay.c ${WRKSRC}/overlay.tcl
> ${STAGEDIR}${EXAMPLESDIR}
> # ${INSTALL_DATA} ${WRKSRC}/stereo.c ${WRKSRC}/stereo.tcl
> ${STAGEDIR}${EXAMPLESDIR}
> # ${INSTALL_DATA} ${WRKSRC}/texture.c ${WRKSRC}/texture.tcl
> ${STAGEDIR}${EXAMPLESDIR}
> # ${INSTALL_DATA} ${WRKSRC}/togl.c ${WRKSRC}/togl.h
> ${STAGEDIR}${EXAMPLESDIR}
> # ${INSTALL_DATA} ${WRKSRC}/tree2.rgba ${STAGEDIR}${EXAMPLESDIR}
>
> I think this is the reason it's not registering the SONAME because of
> those commands but I'm not sure.
>
> I ask because reading the porter handbook on installing ports there's a
> Makefile macro ${COPYTREE_SHARE} but there's a warning that using that
> macro doesn't add the files to pkg-plist, you have to manually do that.
>
> Anyways, that's a long way to say how can I rework this project to make
> sure all files are installed and registered properly?
>


More information about the freebsd-ports mailing list