[patch] Mk/bsd.port.mk introduce bsd.linux-apps.mk

Boris Samorodov bsam at ipt.ru
Tue Mar 3 08:43:56 PST 2009


Hello List,


here is a patch i'm going to ask an approval of portmgr to commit.
Imho there is no need to do an experimental run with because this
patch only introduces a new bsd.linux-apps.mk to bsd.port.mk.
Currently no ports are using this structure and nothing should
changed.

The new bsd.linux-apps.mk is much like bsd.gnome.mk and give an
infrastructure for non linux distribution ports to use different
linux distributions. Example:

--- acroread8 Makefile now ---
RUN_DEPENDS=    acroreadwrapper>=0.0.20080906:${PORTSDIR}/print/acroreadwrapper \                                                          
                ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 \                                             
                ${LINUXBASE}/usr/lib/libpango-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango \                                              
                ${LOCALBASE}/lib/linux-nvu/libgtkembedmoz.so:${PORTSDIR}/www/linux-nvu \                                                   
                ${LINUXBASE}/usr/lib/gtk-2.0/immodules/im-scim.so:${PORTSDIR}/textproc/linux-scim-gtk
-----

--- acroread8 Makefile in the future ---
RUN_DEPENDS=    acroreadwrapper>=0.0.20080906:${PORTSDIR}/print/acroreadwrapper
USE_LINUX_APPS= gtk2 pango scimlibs webauth
-----

Then acroread8 may be used both with linux_base-fc4 linux_base-f8
and their infrastructure ports.

Opinions are welcome. Thanks:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mk.diff.apps
Type: text/x-patch
Size: 14897 bytes
Desc: introduce bsd.linux-apps.mk
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20090303/cb9b268f/Mk.diff.bin
-------------- next part --------------


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-emulation mailing list