On Fri, 06 May 2011 11:04:59 +0300 Andriy Gapon wrote:

> It seems that currently it is not easy/possible to specify a dependency on
> dns/linux-f10-libasyncns in some other port.  Looks like something like the
> following is needed (typically done) for that:

> --- /usr/ports/Mk/bsd.linux-apps.mk   2011-04-28 23:00:24.000000000 +0300
> +++ /usr/ports/Mk/bsd.linux-apps.mk   2011-05-06 11:01:40.119728112 +0300
> @@ -68,7 +68,7 @@

>  # 2.6.16 components
>  _LINUX_26_APPS=              alsa-plugins-oss blt cyrus-sasl2 dbusglib 
> dbuslibs \
> -                     libidn libssh2 libv4l nspr nss openal-soft \
> +                     libasyncns libidn libssh2 libv4l nspr nss openal-soft \
>                       openldap pulseaudio-libs sqlite3 tcl84 tk84

>  _LINUX_APPS_ALL+=    ${_LINUX_26_APPS}
> @@ -224,6 +224,11 @@
>  jpeg_DETECT=         ${jpeg${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
>  jpeg_PORT=                   
> ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-jpeg

> +libasyncns_FILE=     ${LINUXBASE}/usr/lib/libasyncns.so.0.3.1

There is no port for fc4 distro, so no need in this line. A typical way
is to use a comment line like "# no libasyncns_FILE (there is no
libasyncns port for Fedora 4 distribution)"

> +libasyncns_f10_FILE= ${LINUXBASE}/usr/lib/libasyncns.so.0.3.1
> +libasyncns_DETECT=   ${libasyncns${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
> +libasyncns_PORT=     ${PORTSDIR}/dns/linux${LINUX_DIST_SUFFIX}-libasyncns
> +
>  libaudiofile_FILE=   ${LINUXBASE}/usr/lib/libaudiofile.so.0.0.2
>  libaudiofile_f10_FILE=       ${LINUXBASE}/usr/lib/libaudiofile.so.0.0.2
>  libaudiofile_DETECT= ${libaudiofile${LINUX_DIST_SUFFIX:S/-/_/}_FILE}

Other than that looks fine.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to