summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--redhat/build/Makefile.r148
-rwxr-xr-xredhat/build/install_rpm_package.sh2
2 files changed, 5 insertions, 5 deletions
diff --git a/redhat/build/Makefile.r14 b/redhat/build/Makefile.r14
index ab3047a92..281f96906 100644
--- a/redhat/build/Makefile.r14
+++ b/redhat/build/Makefile.r14
@@ -183,8 +183,8 @@ ifneq ($(wildcard /boot/vmlinuz*.el5*),)
endif
sword:
-# Build on Fedora >= 20 only
-ifneq ($(wildcard /boot/vmlinuz*.fc20*),)
+# Build on Fedora >= 20 only, or PCLinuxOS
+ifneq ($(wildcard /boot/vmlinuz*.fc20* /etc/pclinuxos-release),)
$(call buildpkg,3rdparty/sword)
endif
@@ -192,8 +192,8 @@ torsocks:
$(call buildpkg,3rdparty/torsocks)
wv2:
-# Do NOT build on Mageia or openSUSE
-ifeq ($(wildcard /etc/mageia-release /etc/SuSE-release),)
+# Do NOT build on Mageia or openSUSE or PCLINUXOS
+ifeq ($(wildcard /etc/mageia-release /etc/SuSE-release /etc/pclinuxos-release),)
$(call buildpkg,3rdparty/wv2)
endif
diff --git a/redhat/build/install_rpm_package.sh b/redhat/build/install_rpm_package.sh
index 19e2d4c4e..dfaf46e17 100755
--- a/redhat/build/install_rpm_package.sh
+++ b/redhat/build/install_rpm_package.sh
@@ -25,7 +25,7 @@ case "${PKGNAME}" in
"koffice") PKGNAME="${PKGNAME}-suite";;
esac
-# Trinity Prefix, or not.
+# Use the Trinity Prefix, or not.
case "${PKGNAME}" in
"trinity-"*|"qt3"|"python-qt3"|"esound") PREFIX="";;
"gnuchess"|"imlib1"|"lilypond"|"mftrace"|"pcsc-perl"|"torsocks"|"wv2") PREFIX="";;