openbsd-ports/devel/libgtop/patches/patch-Makefile_in
2001-09-20 18:39:12 +00:00

40 lines
1.4 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.1 2001/09/20 18:39:13 naddy Exp $
--- Makefile.in.orig Tue Feb 27 15:01:54 2001
+++ Makefile.in Thu Sep 20 15:29:58 2001
@@ -552,13 +552,13 @@ dist-hook:
release:
$(MAKE) dist distdir=$(PACKAGE)-$(VERSION)
- include macros/macros.dep
-macros/macros.dep: macros/Makefile.am
- cd macros && $(MAKE) macros.dep
+# include macros/macros.dep
+#macros/macros.dep: macros/Makefile.am
+# cd macros && $(MAKE) macros.dep
$(top_srcdir)/aclocal.m4: libgtop-sysdeps.m4 LIBGTOP-VERSION
-libgtopConf.sh: libgtopConf.sh.in Makefile
+$(top_builddir)/libgtopConf.sh: libgtopConf.sh.in Makefile
sed -e 's#\@LIBGTOP_LIBDIR\@#$(libdir)#g' \
-e 's#\@LIBGTOP_INCLUDEDIR\@#$(includedir)#g' \
-e 's#\@LIBGTOP_DATADIR\@#$(datadir)#g' \
@@ -587,14 +587,14 @@ libgtopConf.sh: libgtopConf.sh.in Makefi
< $(srcdir)/libgtopConf.sh.in > libgtopConf.tmp \
&& mv libgtopConf.tmp libgtopConf.sh
-libgtop-config: libgtop-config.in Makefile
+$(top_builddir)/libgtop-config: libgtop-config.in Makefile
sed -e 's#\@LIBGTOP_LIBDIR\@#$(libdir)#g' \
< $(srcdir)/libgtop-config.in > libgtop-config.tmp \
&& mv libgtop-config.tmp libgtop-config && \
chmod 755 libgtop-config
-libgtop-features.def: features.def
- @LN_S@ $< $@
+$(top_builddir)/libgtop-features.def: features.def
+ @LN_S@ $? $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.