From owner-freebsd-emulation@FreeBSD.ORG Fri May 6 11:04:00 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C728106566B; Fri, 6 May 2011 11:04:00 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 536198FC1C; Fri, 6 May 2011 11:04:00 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtps (TLSv1:AES128-SHA:128) (Exim 4.54 (FreeBSD)) id 1QIIpC-000NJ5-Dl; Fri, 06 May 2011 15:03:58 +0400 From: Boris Samorodov To: Andriy Gapon References: <4DC3ABAB.6080707@FreeBSD.org> Date: Fri, 06 May 2011 15:03:58 +0400 In-Reply-To: <4DC3ABAB.6080707@FreeBSD.org> (Andriy Gapon's message of "Fri, 06 May 2011 11:04:59 +0300") Message-ID: <04442097@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: emulation@FreeBSD.org, Ion-Mihai Tetcu Subject: Re: dns/linux-f10-libasyncns in bsd.linux-apps.mk X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2011 11:04:00 -0000 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