pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/lang/f2c
Matthias Scheler <tron%NetBSD.org@localhost> writes:
> On Sun, Nov 22, 2009 at 12:52:54PM +0000, Aleksej Saushev wrote:
>
> This breaks the build under Mac OS X and probably a lot of other platforms:
>
> There is no "bsd.init.mk" in the "bootstrap-mk-files" package.
This has been reported already, could you test this (no access to
"other" platforms today):
Index: files/libtool.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/f2c/files/libtool.mk,v
retrieving revision 1.1
diff -u -r1.1 libtool.mk
--- files/libtool.mk 22 Nov 2009 12:52:54 -0000 1.1
+++ files/libtool.mk 23 Nov 2009 10:09:35 -0000
@@ -1,6 +1,17 @@
# building library using libtool, simplified
-.include <bsd.init.mk>
+# Simulate "bsd.init.mk" because pkgsrc doesn't provide it for some reason:
+.if !target(__initialized__)
+__initialized__:
+.if exists(${.CURDIR}/../Makefile.inc)
+.include "${.CURDIR}/../Makefile.inc"
+.endif
+.include <bsd.own.mk>
+.include <bsd.obj.mk>
+.include <bsd.depall.mk>
+.MAIN: all
+.endif
+# .include <bsd.init.mk>
OBJS+= $(SRCS:.c=.o)
LTOBJS+= $(SRCS:.c=.lo)
--
HE CE3OH...
Home |
Main Index |
Thread Index |
Old Index