summaryrefslogtreecommitdiffstats
path: root/lang/compaq-cc/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-12-08 13:54:04 +0000
committerobrien <obrien@FreeBSD.org>2000-12-08 13:54:04 +0000
commitb57f222dfe6cfeca0c212dd26c75dadd2ee32bf0 (patch)
tree4a537477c8b8294d21a6695ac97c14ce906465e1 /lang/compaq-cc/Makefile
parent1ac03274542b1fda6d1ccb14a4df93e33e477613 (diff)
downloadFreeBSD-ports-b57f222dfe6cfeca0c212dd26c75dadd2ee32bf0.zip
FreeBSD-ports-b57f222dfe6cfeca0c212dd26c75dadd2ee32bf0.tar.gz
Replace pre-defined "linux" symbol with "FreeBSD".
Diffstat (limited to 'lang/compaq-cc/Makefile')
-rw-r--r--lang/compaq-cc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/compaq-cc/Makefile b/lang/compaq-cc/Makefile
index 007148a..e2d4715 100644
--- a/lang/compaq-cc/Makefile
+++ b/lang/compaq-cc/Makefile
@@ -61,6 +61,9 @@ do-install:
; ${MV} lnxcc_driver lnxcc_driver.Linux \
; ${SED} -e 's/-dynamic-linker/-g /g' \
-e 's|/lib/ld-linux.so.2|-g |g' \
+ -e 's|-D__linux__|-D__FreeBSD|g' \
+ -e 's|-D__linux....|-D__FreeBSD__|g' \
+ -e 's|-Dlinux|-D_____|g' \
lnxcc_driver.Linux >lnxcc_driver \
; ${CHMOD} 555 lnxcc_driver
# the shared libs gives us trouble right now, so only offer .a's
OpenPOWER on IntegriCloud