openbsd-ports/lang/nbfc/patches/patch-config_h
jasper 6aa6429509 - fix paths the bf-to-{c,java} compilers will use.
prompted by aja@, ok aja@ sthen@
2011-04-12 16:28:54 +00:00

9 lines
313 B
Plaintext

$OpenBSD: patch-config_h,v 1.1 2011/04/12 16:28:54 jasper Exp $
--- config.h.orig Mon Dec 13 23:47:07 1999
+++ config.h Tue Apr 12 17:10:53 2011
@@ -1,2 +1,2 @@
-#define CC "/usr/bin/gcc -g -O4"
-#define JAVAC "/usr/bin/guavac"
+#define CC "${CC} ${CFLAGS}"
+#define JAVAC "${LOCALBASE}/bin/nbfc-javac"