diff options
Diffstat (limited to 'redhat/Makefile.r14')
-rw-r--r-- | redhat/Makefile.r14 | 106 |
1 files changed, 62 insertions, 44 deletions
diff --git a/redhat/Makefile.r14 b/redhat/Makefile.r14 index 352b2a343..68bf3e41f 100644 --- a/redhat/Makefile.r14 +++ b/redhat/Makefile.r14 @@ -137,19 +137,19 @@ tdewebdev: tdebase tdesdk ### 3rd party libraries and tools autoconf: m4 # Build on CentOS 5 only -ifneq ($(wildcard /boot/vmlinuz*.el5*),) +ifneq (,$(filter $(DIST),.el5 .el6)) $(call buildpkg,3rdparty/autoconf) endif automake: # Build on CentOS 5 only -ifneq ($(wildcard /boot/vmlinuz*.el5*),) +ifneq (,$(filter $(DIST),.el5)) $(call buildpkg,3rdparty/automake) endif cmake: # Build on CentOS 5 only -ifneq ($(wildcard /boot/vmlinuz*.el5*),) +ifneq (,$(filter $(DIST),.el5)) $(call buildpkg,3rdparty/cmake) endif @@ -173,13 +173,25 @@ endif file: # Build on CentOS 5 -ifneq ($(wildcard /boot/vmlinuz*.el5*),) +ifneq (,$(filter $(DIST),.el5)) $(call buildpkg,3rdparty/file) endif +gmime: +# Build on CentOS 6 +ifneq (,$(filter $(DIST),.el6)) + $(call buildpkg,3rdparty/gmime) +endif + +intltool: +# Build on CentOS 5 +ifneq (,$(filter $(DIST),.el5)) + $(call buildpkg,3rdparty/intltool) +endif + gnuchess: # Build on CentOS 5, CentOS 7 -ifneq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el7*),) +ifneq (,$(filter $(DIST),.el5 .el7)) $(call buildpkg,3rdparty/gnuchess) endif @@ -192,12 +204,10 @@ endif imlib1: # Do NOT build on Fedora, nor CentOS, nor PCLOS ifeq ($(wildcard /etc/fedora-release),) -ifeq ($(wildcard /etc/centos-release),) -ifeq ($(wildcard /boot/vmlinuz*.el5*),) +ifeq (,$(filter $(DIST),.el5 .el6 .el7)) $(call buildpkg,3rdparty/imlib1) endif endif -endif lcms: ifneq ($(wildcard /boot/vmlinuz*.el7*),) @@ -206,35 +216,34 @@ endif libcurl: automake libtool2 # Build on CentOS 5 only -ifneq ($(wildcard /boot/vmlinuz*.el4*),) +ifneq (,$(filter $(DIST),.el4)) $(call buildpkg,3rdparty/curl) endif libtool2: autoconf automake # Build on CentOS 5 only -ifneq ($(wildcard /boot/vmlinuz*.el5*),) +ifneq (,$(filter $(DIST),.el5)) $(call buildpkg,3rdparty/libtool2) endif lilypond: mftrace # Build on CentOS 6 only -ifneq ($(wildcard /boot/vmlinuz*.el6*),) +ifneq (,$(filter $(DIST),.el6)) $(call buildpkg,3rdparty/lilypond) endif m4: -# Build on CentOS 5 only (vendor-provided m4 is too old) -ifneq ($(wildcard /boot/vmlinuz*.el5*),) +# Build on CentOS 5 and CentOS 6 only (vendor-provided m4 is too old) +ifneq (,$(filter $(DIST),.el5 .el6)) $(call buildpkg,3rdparty/m4) endif mftrace: # Build on CentOS 6 only -ifneq ($(wildcard /boot/vmlinuz*.el6*),) +ifneq (,$(filter $(DIST),.el6)) $(call buildpkg,3rdparty/mftrace) endif - mp4v2: # Build on OpenSUSE only ifneq ($(wildcard /etc/SuSE-release),) @@ -243,13 +252,13 @@ endif pcsc-perl: # Build on CentOS -ifneq ($(wildcard /etc/centos-release /boot/vmlinuz*.el5*),) +ifneq (,$(filter $(DIST),.el5 .el6 .el7)) $(call buildpkg,3rdparty/pcsc-perl) endif poppler: # Build on CentOS 5 only (vendor-provided Poppler is too old) -ifneq ($(wildcard /boot/vmlinuz*.el5*),) +ifneq (,$(filter $(DIST),.el5)) $(call buildpkg,3rdparty/poppler) endif @@ -264,19 +273,25 @@ endif sip: # Build on CentOS 5 only (vendor-provided SIP is too old) -ifneq ($(wildcard /boot/vmlinuz*.el5*),) +ifneq (,$(filter $(DIST),.el5)) $(call buildpkg,3rdparty/sip) endif +sword: +# Build on CentOS 5 only +ifneq (,$(filter $(DIST),.el5)) + $(call buildpkg,3rdparty/sword) +endif + tar: # Build on CentOS 5 only (vendor-provided TAR is too old) -ifneq ($(wildcard /boot/vmlinuz*.el5*),) +ifneq (,$(filter $(DIST),.el5)) $(call buildpkg,3rdparty/tar) endif torsocks: -# Do NOT build on RHEL 6, RHEL 7, Fedora > 20, Mageia -ifeq ($(wildcard /boot/vmlinuz*.el6* /boot/vmlinuz*.el7* /etc/fedora-release /boot/mageia.dat /etc/SuSE-release),) +# Build on opensuse +ifneq (,$(filter $(DIST), .oss)) $(call buildpkg,3rdparty/torsocks) endif @@ -339,7 +354,7 @@ amarok: tdebase cmake mp4v2 basket: tdebase tdepim $(call buildpkg,applications/basket) -bibletime: tdebase +bibletime: tdebase sword $(call buildpkg,applications/bibletime) compizconfig-backend-kconfig: tdebase @@ -365,13 +380,13 @@ fusion-icon: tdebase gtk3-tqt-engine: tdebase # Do NOT build on CentOS 5, CentOS 6 -ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),) +ifeq (,$(filter $(DIST),.el5 .el6)) $(call buildpkg,applications/gtk3-tqt-engine) endif gtk-qt-engine: tdebase # Do NOT build on CentOS 5 (GTK2 is too old) -ifeq ($(wildcard /boot/vmlinuz*.el5*),) +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/gtk-qt-engine) endif @@ -380,13 +395,13 @@ gwenview: tdebase k3b: tdebase # Do NOT build on CentOS 5 (No TDE HWLIB support) -ifeq ($(wildcard /boot/vmlinuz*.el5*),) +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/k3b) endif k9copy: tdebase k3b # Do NOT build on CentOS 5 (No K3B) -ifeq ($(wildcard /boot/vmlinuz*.el5*),) +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/k9copy) endif @@ -425,19 +440,19 @@ kcmautostart: tdebase kcmldap: tdebase libtdeldap # Do NOT build on CentOS 5, PCLinuxOS -ifeq ($(wildcard /boot/vmlinuz*.el5* /etc/pclinuxos-release),) +ifeq (,$(filter $(DIST),.el5 .pclos)) $(call buildpkg,applications/kcmldap) endif kcmldapcontroller: tdebase kcmldap # Do NOT build on CentOS 5, PCLinuxOS -ifeq ($(wildcard /boot/vmlinuz*.el5* /etc/pclinuxos-release),) +ifeq (,$(filter $(DIST),.el5 .pclos)) $(call buildpkg,applications/kcmldapcontroller) endif kcmldapmanager: tdebase kcmldap # Do NOT build on CentOS 5, PCLinuxOS -ifeq ($(wildcard /boot/vmlinuz*.el5* /etc/pclinuxos-release),) +ifeq (,$(filter $(DIST),.el5 .pclos)) $(call buildpkg,applications/kcmldapmanager) endif @@ -464,7 +479,7 @@ keep: tdebase rdiff-backup kerberostray: tdebase # Do NOT build on CentOS 5, PCLinuxOS -ifeq ($(wildcard /boot/vmlinuz*.el5* /etc/pclinuxos-release),) +ifeq (,$(filter $(DIST),.el5 .pclos)) $(call buildpkg,applications/kerberostray) endif @@ -490,7 +505,8 @@ kile: tdebase $(call buildpkg,applications/kile) kima: tdebase -ifeq ($(wildcard /boot/vmlinuz*.el5*),) +# Not on RHEL5 +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/kima) endif @@ -522,7 +538,8 @@ knetstats: tdebase $(call buildpkg,applications/knetstats) knetworkmanager8: tdebase -ifneq ($(wildcard /boot/vmlinuz*.el6*),) +# RHEL6 only +ifneq (,$(filter $(DIST),.el6)) $(call buildpkg,applications/knetworkmanager8) endif @@ -555,7 +572,7 @@ kpicosim: tdebase kpilot: tdebase # Do NOT build on CentOS 5 (pilot-link library is too old) -ifeq ($(wildcard /boot/vmlinuz*.el5*),) +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/kpilot) endif @@ -630,19 +647,19 @@ potracegui: tdebase qalculate-tde: tdebase # Do NOT build on CentOS 5, CentOS 6 -ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),) +ifeq (,$(filter $(DIST),.el5 .el6)) $(call buildpkg,applications/qalculate-tde) endif qt4-tqt-theme-engine: tdebase # Do NOT build on CentOS 5, CentOS 6 -ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),) +ifeq (,$(filter $(DIST),.el5 .el6)) $(call buildpkg,applications/qt4-tqt-theme-engine) endif rosegarden: tdebase lilypond # Do NOT build on CentOS 5, CentOS 7 -ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el7*),) +ifeq (,$(filter $(DIST),.el5 .el7)) $(call buildpkg,applications/rosegarden) endif @@ -670,7 +687,7 @@ tdeio-ftps: tdebase tdeio-locate: tdebase $(call buildpkg,applications/tdeio-locate) -tdeio-sword: tdebase +tdeio-sword: tdebase sword $(call buildpkg,applications/tdeio-sword) tdeio-umountwrapper: tdebase @@ -678,13 +695,13 @@ tdeio-umountwrapper: tdebase tdenetworkmanager: tdebase # Do NOT build on CentOS 5, CentOS 6 -ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),) +ifeq (,$(filter $(DIST),.el5 .el6)) $(call buildpkg,applications/tdenetworkmanager) endif tdepowersave: tdebase # Do NOT build on CentOS 5 -ifeq ($(wildcard /boot/vmlinuz*.el5*),) +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/tdepowersave) endif @@ -720,7 +737,7 @@ tdmtheme: tdebase tellico: tdebase tdemultimedia # Do NOT build on CentOS 5 -ifeq ($(wildcard /boot/vmlinuz*.el5*),) +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/tellico) endif @@ -742,7 +759,7 @@ gwenview-i18n: tdebase k3b-i18n: tdebase # Do NOT build on CentOS 5 -ifeq ($(wildcard /boot/vmlinuz*.el5*),) +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/k3b-i18n) endif @@ -790,7 +807,8 @@ klamav: $(call buildpkg,extras/klamav) klibido: pan -ifeq ($(wildcard /boot/vmlinuz*.el5*),) +# Not on RHEL5 +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,extras/klibido) endif @@ -809,8 +827,8 @@ kpacman: mathemagics: $(call buildpkg,extras/mathemagics) -pan: -ifeq ($(wildcard /boot/vmlinuz*.el5*),) +pan: gmime intltool +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,3rdparty/pan) endif |