freebsd-ports/devel/libgtop/files/patch-ab
Ade Lovett 564f01076d Update to 1.0.11
Unbreak (again) for -current (from knu)
2001-02-15 19:21:55 +00:00

30 lines
1.1 KiB
Plaintext

--- Makefile.in.orig Tue Oct 19 06:04:23 1999
+++ Makefile.in Tue Oct 26 11:42:07 1999
@@ -187,7 +187,7 @@
EXTRA_DIST = autogen.sh libgtop.spec.in copyright.txt libgtopConf.sh.in LIBGTOP-VERSION features.def libgtop-config.in RELNOTES-0.25 RELNOTES-1.0 RELNOTES-1.0.x libgtop-sysdeps.m4 README libgtop-mirror.sh
-confexecdir = $(libdir)
+confexecdir = $(sysconfdir)
confexec_DATA = $(top_builddir)/libgtopConf.sh $(top_builddir)/libgtop-features.def
@@ -558,7 +558,7 @@
$(top_srcdir)/aclocal.m4: libgtop-sysdeps.m4
libgtopConf.sh: libgtopConf.sh.in Makefile
- sed -e 's#\@LIBGTOP_LIBDIR\@#$(libdir)#g' \
+ sed -e 's#\@LIBGTOP_LIBDIR\@#$(confexecdir)#g' \
-e 's#\@LIBGTOP_INCLUDEDIR\@#$(includedir)#g' \
-e 's#\@LIBGTOP_DATADIR\@#$(datadir)#g' \
-e 's#\@LIBGTOP_EXTRA_LIBS\@#$(LIBGTOP_EXTRA_LIBS)#g' \
@@ -587,7 +587,7 @@
&& mv libgtopConf.tmp libgtopConf.sh
libgtop-config: libgtop-config.in Makefile
- sed -e 's#\@LIBGTOP_LIBDIR\@#$(libdir)#g' \
+ sed -e 's#\@LIBGTOP_LIBDIR\@#$(confexecdir)#g' \
< $(srcdir)/libgtop-config.in > libgtop-config.tmp \
&& mv libgtop-config.tmp libgtop-config && \
chmod 755 libgtop-config