aboutsummaryrefslogtreecommitdiffstats
path: root/audio/oss/files
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-10-26 13:31:59 +0800
committerjhale <jhale@FreeBSD.org>2012-10-26 13:31:59 +0800
commit34fbc04a12095f7e641771db31eb2c6c56e18f6d (patch)
tree4f2a4962366efecfb96370e6ccdb8807695036a9 /audio/oss/files
parent611687b198027b1b20ed405f9835a8822b76fd7c (diff)
downloadfreebsd-ports-graphics-34fbc04a12095f7e641771db31eb2c6c56e18f6d.tar.gz
freebsd-ports-graphics-34fbc04a12095f7e641771db31eb2c6c56e18f6d.tar.zst
freebsd-ports-graphics-34fbc04a12095f7e641771db31eb2c6c56e18f6d.zip
- Add fix to allow building with clang
- Trim Makefile header PR: ports/172609 Submitted by: Jan Beich <jbeich@tormail.org> Approved by: makc, avilla (mentors, implicit) Feature safe: yes
Diffstat (limited to 'audio/oss/files')
-rw-r--r--audio/oss/files/patch-setup-srcconf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/audio/oss/files/patch-setup-srcconf.c b/audio/oss/files/patch-setup-srcconf.c
index cd377fddf59..c058fce01c8 100644
--- a/audio/oss/files/patch-setup-srcconf.c
+++ b/audio/oss/files/patch-setup-srcconf.c
@@ -9,3 +9,12 @@
}
if (strcmp (line, "project") == 0)
+@@ -913,7 +913,7 @@
+ if (config_phpmake)
+ fprintf (f, "<?php require getenv(\"PHPMAKE_LIBPATH\") . \"library.php\"; phpmake_makefile_top_rules(); ?>\n");
+
+- fprintf (f, "CC=%s\n", conf.ccomp);
++ fprintf (f, "CC=%s\n", targetcc);
+ // fprintf (f, "LD=ld\n");
+ fprintf (f, "HOSTCC=%s\n", hostcc);
+ fprintf (f, "CPLUSPLUS=%s\n", conf.cplusplus);