Changeset 42047 in vbox for trunk/src/VBox/Installer/linux/rpm/rules
- Timestamp:
- Jul 9, 2012 8:34:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/rpm/rules
r41163 r42047 71 71 72 72 ifneq ($(MAKECMDGOALS),clean) 73 rpmrel := $(s hell cat /etc/distname)73 rpmrel := $(subst rhel,el,$(shell cat /etc/distname)) 74 74 ifeq ($(rpmrel),) 75 75 # look for fedora … … 85 85 endif 86 86 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)),) 88 88 rpmspec := rpm_redhat 89 89 endif … … 111 111 112 112 # 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)113 instmod := $(if $(filter el4 el5 el6 ol4 ol5 ol6 centos4 centos5 centos6 sles10.1 sles11.0 fedora13 fedora14 fedora15 fedora16 fedora17,$(rpmrel)),,install_rpm) 114 114 115 115 ifneq ($(STAGEDISO),) … … 133 133 134 134 cfg_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,) \ 139 139 $(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)) \ 142 142 $(if $(ose),--ose,) $(if $(LINUX),--with-linux=$(LINUX),) \ 143 143 $(if $(HEADLESS),--build-headless,) \ … … 164 164 $(if $(STAGEDISO),VBOX_WITHOUT_ADDITIONS=1,) \ 165 165 $(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) 167 167 168 168 rpm/configure-stamp:
Note:
See TracChangeset
for help on using the changeset viewer.