ports/lang/oo2c/files/patch-rsrc__OOC__oo2crc.xml.mk.in
Adam Weinberger 5bf2326a1a Fix build.
While here, fix some stage-qa failures. One of the adjunct utilities uses
perl, but it seems silly to build in a run-time perl dependency just for it.
So, set the perl path to something sensible and likely correct.
2014-08-26 17:35:45 +00:00

11 lines
444 B
Makefile

--- ./rsrc/OOC/oo2crc.xml.mk.in.orig 2014-08-26 13:22:18.819656990 -0400
+++ ./rsrc/OOC/oo2crc.xml.mk.in 2014-08-26 13:22:32.780265990 -0400
@@ -5,7 +5,7 @@
<set name='cppflags'>@CPPFLAGS@</set>
<set name='cflags'>@CFLAGS@</set>
<set name='ldflags'>@LDFLAGS@</set>
- <set name='libs'>-L%libdir%</set>
+ <set name='libs'>-L%libdir% -lm</set>
<set name='libtool'>@LIBTOOL@</set>
<set name='libdir'>%libdir%</set>