openbsd-ports/lang/gfortran/patches/patch-libcpp_Makefile_in
steven 6f0b523996 import separate port of gfortran 4.2.1, in sync with the base compiler.
meant to be used on archs that have gcc4 in base, this doesn't require a
full gcc build from ports, and provides libgfortran as a subpackage.

idea from espie some months ago.
2010-10-10 17:39:06 +00:00

17 lines
688 B
Plaintext

$OpenBSD: patch-libcpp_Makefile_in,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
--- libcpp/Makefile.in.orig Sun Jun 20 18:54:58 2010
+++ libcpp/Makefile.in Sun Jun 20 18:55:19 2010
@@ -88,10 +88,10 @@ libcpp.a: $(libcpp_a_OBJS)
$(AR) $(ARFLAGS) libcpp.a $(libcpp_a_OBJS)
$(RANLIB) libcpp.a
-makedepend$(EXEEXT): $(makedepend_OBJS) libcpp.a ../libiberty/libiberty.a
+makedepend$(EXEEXT): $(makedepend_OBJS) libcpp.a ${LIBIBERTY}
@rm -f makedepend$(EXEEXT)
$(CC) $(CFLAGS) $(LDFLAGS) -o makedepend$(EXEEXT) \
- $(makedepend_OBJS) libcpp.a ../libiberty/libiberty.a \
+ $(makedepend_OBJS) libcpp.a ${LIBIBERTY} \
$(LIBINTL) $(LIBICONV)
# Rules to rebuild the configuration