[patch] for bsd.linux-rpm.mk (LINUX_DISTRIBUTION and more)
Boris Samorodov
bsam at ipt.ru
Sat Mar 18 20:54:20 UTC 2006
Hello, List!
1. I propose to use LINUX_DISTRIBUTION and VERSION (LINUX_DIST and
LINUX_DIST_VER at the patch) at those ports which use USE_LINUX_RPM.
So far only "fedora" and "3" are defined (they are defaults).
The first option is intended to define to which distribution the port
belogs to but thereis no need to install the linux distribution
binaries. Current option USE_LINUX=foo implies installing linux
distribution foo.
2. Currently only files for linux_base ports are saved to directories
named after linux distribution names. There is no standard:
o the majority of the ports use DIS_SUBDIR= rpm -- no distribution
name, no version;
o x11/linux-XFree86-libs: DIST_SUBDIR= rpm/i386/suse -- no version;
o graphics/linux-png: DIST_SUBDIR= rpm/i386/fc3 -- combined
distribution and version.
I propose standard directory for fetching distfiles:
DIST_SUBDIR?= rpm/${LINUX_RPM_ARCH}/${LINUX_DIST}/${LINUX_DIST_VER}
The default directory may stay DIST_SUBDIR?= rpm.
WBR
--
Boris B. Samorodov, Research Engineer
InPharmTech Co, http://www.ipt.ru
Telephone & Internet Service Provider
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 1117 bytes
Desc: patch for bsd.linux-rpm.mk
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20060318/4f866263/patch.bin
More information about the freebsd-emulation
mailing list