I am trying to build the port devel/icu on the powerpc64 platform with GCC 4.9. It's only possible to build by having the following in my /etc/libmap.conf:
The above is applied system wide. Is there way to make it only apply to the specific port like what I can do with /etc/make.conf?
Code:
libgcc_s.so.1 gcc49/libgcc_s.so.1
libgomp.so.1 gcc49/libgomp.so.1
libobjc.so.3 gcc49/libobjc.so.2
libssp.so.0 gcc49/libssp.so.0
libstdc++.so.6 gcc49/libstdc++.so.6
The above is applied system wide. Is there way to make it only apply to the specific port like what I can do with /etc/make.conf?
Code:
.if !empty(.CURDIR:M/usr/ports/devel/icu) && exists(/usr/local/bin/gcc49)
CC=gcc49
CXX=g++49
CPP=cpp49
.endif