pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Patches for boost on RHEL/Centos 6
meta-pkgs/boost and devel/boost-libs both indicate that GCC 4.5 is required.
However, the boost packages build fine with the patched GCC 4.4 on
RHEL/CentOS 6.
Attached are patches to eliminate the GCC 4.5 dependency where it isn't
needed.
Regards,
Jason
--
Never drink coke in a moving elevator. The elevator's motion coupled
with the chemicals in coke produce hallucinations. People tend to
change into lizards and attack without warning, and large bats usually
fly in the window. Additionally, you begin to believe that elevators
have windows.
diff -ruN --exclude .svn ../meta-pkgs/boost/Makefile.common boost/Makefile.common
--- ../meta-pkgs/boost/Makefile.common 2016-01-24 14:08:30.619176081 -0600
+++ boost/Makefile.common 2016-01-24 14:07:52.061568949 -0600
@@ -42,6 +42,8 @@
. if ${MACHINE_ARCH} != "sparc64"
GCC_REQD+= 4.6
. endif
+. elif ${OPSYS} == "Linux" && exists(/etc/redhat-release)
+GCC_REQD+= 4.4
. else
GCC_REQD+= 4.5
. endif
diff -ruN --exclude .svn ../devel/boost-libs/buildlink3.mk boost-libs/buildlink3.mk
--- ../devel/boost-libs/buildlink3.mk 2016-01-24 14:08:38.294496147 -0600
+++ boost-libs/buildlink3.mk 2016-01-24 14:06:22.414828408 -0600
@@ -14,6 +14,8 @@
# Sync with meta-pkgs/boost/Makefile.common
.if ${OPSYS} == "OpenBSD"
GCC_REQD+= 4.6
+.elif ${OPSYS} == "Linux" && exists(/etc/redhat-release)
+GCC_REQD+= 4.4
.else
GCC_REQD+= 4.5
.endif
Home |
Main Index |
Thread Index |
Old Index