VirtualBox

Ignore:
Timestamp:
Jul 9, 2012 8:34:27 AM (13 years ago)
Author:
vboxsync
Message:

linux/rpm: more neutral pkg names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/rpm/rules

    r41163 r42047  
    7171
    7272ifneq ($(MAKECMDGOALS),clean)
    73  rpmrel   := $(shell cat /etc/distname)
     73 rpmrel   := $(subst rhel,el,$(shell cat /etc/distname))
    7474 ifeq ($(rpmrel),)
    7575 # look for fedora
     
    8585 endif
    8686
    87  ifeq ($(filter-out rhel4 rhel5 rhel6 ol4 ol5 ol6 centos4 centos5 centos6 fedora9 fedora11 fedora12 fedora13 fedora14 fedora15 fedora16 fedora17 turbolinux11,$(rpmrel)),)
     87 ifeq ($(filter-out el4 el5 el6 ol4 ol5 ol6 centos4 centos5 centos6 fedora9 fedora11 fedora12 fedora13 fedora14 fedora15 fedora16 fedora17 turbolinux11,$(rpmrel)),)
    8888  rpmspec := rpm_redhat
    8989 endif
     
    111111
    112112# Fedora13/14 is bleeding edge, the other jails have outdated kernel headers
    113 instmod  := $(if $(filter rhel4 rhel5 rhel6 ol4 ol5 ol6 centos4 centos5 centos6 sles10.1 sles11.0 fedora13 fedora14 fedora15 fedora16 fedora17,$(rpmrel)),,install_rpm)
     113instmod  := $(if $(filter el4 el5 el6 ol4 ol5 ol6 centos4 centos5 centos6 sles10.1 sles11.0 fedora13 fedora14 fedora15 fedora16 fedora17,$(rpmrel)),,install_rpm)
    114114
    115115ifneq ($(STAGEDISO),)
     
    133133
    134134cfg_flags := $(if $(NOQT),--disable-qt,) \
    135              $(if $(filter rhel4 sles10.1,$(rpmrel)),--build-libxml2,) \
    136              $(if $(filter rhel4,$(rpmrel)),--build-libssl,) \
    137              $(if $(filter rhel4 rhel5 ol4 ol5 centos4 centos5 sles10.1,$(rpmrel)),--build-libcurl,) \
    138              $(if $(filter rhel5 centos5 sles10.1,$(rpmrel)),--disable-sdl-ttf,) \
     135             $(if $(filter el4 sles10.1,$(rpmrel)),--build-libxml2,) \
     136             $(if $(filter el4,$(rpmrel)),--build-libssl,) \
     137             $(if $(filter el4 el5 ol4 ol5 centos4 centos5 sles10.1,$(rpmrel)),--build-libcurl,) \
     138             $(if $(filter el5 centos5 sles10.1,$(rpmrel)),--disable-sdl-ttf,) \
    139139             $(if $(filter sles10.1 turbolinux11,$(rpmrel)),--disable-pulse,) \
    140              $(if $(filter rhel4 rhel5 ol4 ol5 centos4 centos5,$(rpmrel)),--enable-pulse,) \
    141              $(if $(filter rhel4 rhel5 ol4 ol5 centos4 centos5 mdv2010.0 sles10.1 sles11.0 turbolinux11,$(rpmrel)),--with-qt4-dir=/home/vbox/Qt-4.7.4-stdc++6-$(arch)) \
     140             $(if $(filter el4 el5 ol4 ol5 centos4 centos5,$(rpmrel)),--enable-pulse,) \
     141             $(if $(filter el4 el5 ol4 ol5 centos4 centos5 mdv2010.0 sles10.1 sles11.0 turbolinux11,$(rpmrel)),--with-qt4-dir=/home/vbox/Qt-4.7.4-stdc++6-$(arch)) \
    142142             $(if $(ose),--ose,) $(if $(LINUX),--with-linux=$(LINUX),) \
    143143             $(if $(HEADLESS),--build-headless,) \
     
    164164             $(if $(STAGEDISO),VBOX_WITHOUT_ADDITIONS=1,) \
    165165             $(if $(BLEEDING_EDGE),VBOX_BLEEDING_EDGE=$(BLEEDING_EDGE),) \
    166              $(if $(filter rhel4 rhel5 ol4 ol5 centos4 centos5 fedora9 fedora10 sles10.1 turbolinux11,$(rpmrel)),,VBOX_WITH_SYSFS_BY_DEFAULT=1)
     166             $(if $(filter el4 el5 ol4 ol5 centos4 centos5 fedora9 fedora10 sles10.1 turbolinux11,$(rpmrel)),,VBOX_WITH_SYSFS_BY_DEFAULT=1)
    167167
    168168rpm/configure-stamp:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette