Date: Fri, 06 May 2011 15:03:58 +0400 From: Boris Samorodov <bsam@ipt.ru> To: Andriy Gapon <avg@FreeBSD.org> Cc: emulation@FreeBSD.org, Ion-Mihai Tetcu <itetcu@FreeBSD.org> Subject: Re: dns/linux-f10-libasyncns in bsd.linux-apps.mk Message-ID: <04442097@bb.ipt.ru> In-Reply-To: <4DC3ABAB.6080707@FreeBSD.org> (Andriy Gapon's message of "Fri, 06 May 2011 11:04:59 %2B0300") References: <4DC3ABAB.6080707@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04442097>
