aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-12-08 21:54:04 +0800
committerobrien <obrien@FreeBSD.org>2000-12-08 21:54:04 +0800
commitb57f222dfe6cfeca0c212dd26c75dadd2ee32bf0 (patch)
tree4a537477c8b8294d21a6695ac97c14ce906465e1 /lang
parent1ac03274542b1fda6d1ccb14a4df93e33e477613 (diff)
downloadfreebsd-ports-graphics-b57f222dfe6cfeca0c212dd26c75dadd2ee32bf0.tar.gz
freebsd-ports-graphics-b57f222dfe6cfeca0c212dd26c75dadd2ee32bf0.tar.zst
freebsd-ports-graphics-b57f222dfe6cfeca0c212dd26c75dadd2ee32bf0.zip
Replace pre-defined "linux" symbol with "FreeBSD".
Diffstat (limited to 'lang')
-rw-r--r--lang/compaq-cc/Makefile3
-rw-r--r--lang/compaq-cc/pkg-plist5
2 files changed, 6 insertions, 2 deletions
diff --git a/lang/compaq-cc/Makefile b/lang/compaq-cc/Makefile
index 007148af6eb..e2d47159411 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
diff --git a/lang/compaq-cc/pkg-plist b/lang/compaq-cc/pkg-plist
index 8071e466714..fe5e5157b3b 100644
--- a/lang/compaq-cc/pkg-plist
+++ b/lang/compaq-cc/pkg-plist
@@ -156,6 +156,8 @@ usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/include/va_list.h
usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/include/varargs.h
usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/man/man1/ccc.1
usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/man/man8/protect_headers_setup.8
+usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/man/rsml
+usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/man/sml
usr/man/man1/ccc.1
usr/man/man8/protect_headers_setup.8
usr/man/rsml
@@ -163,14 +165,13 @@ usr/man/sml
@dirrm usr/doc/ccc-6.2.9.504/Language_Reference
@dirrm usr/doc/ccc-6.2.9.504/Programmers_Guide
@dirrm usr/doc/ccc-6.2.9.504
+@dirrm usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/bin
@dirrm usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/include/alpha
@dirrm usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/include/gnu
@dirrm usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/include/sys
@dirrm usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/include
@dirrm usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/man/man1
@dirrm usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/man/man8
-@dirrm usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/man/rsml
-@dirrm usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/man/sml
@dirrm usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux/man
@dirrm usr/lib/compaq/ccc-6.2.9.504-2/alpha-linux
@dirrm usr/lib/compaq/ccc-6.2.9.504-2