ports/audio/oss/files/patch-setup-srcconf.c
Jason E. Hale 344fd02e37 - 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
2012-10-26 05:31:59 +00:00

20 lines
689 B
C

--- setup/srcconf.c.orig 2009-09-03 06:14:33.000000000 -0400
+++ setup/srcconf.c 2009-09-22 14:52:03.000000000 -0400
@@ -195,7 +195,7 @@
{
parms = "";
if (getenv ("OGG_SUPPORT") != NULL)
- parms = "-DOGG_SUPPORT";
+ parms = "-DOGG_SUPPORT -I%%LOCALBASE%%/include";
}
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);