summaryrefslogtreecommitdiff
path: root/sysutils/logtool-devel/files/patch-logtool::Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/logtool-devel/files/patch-logtool::Makefile.in')
-rw-r--r--sysutils/logtool-devel/files/patch-logtool::Makefile.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/logtool-devel/files/patch-logtool::Makefile.in b/sysutils/logtool-devel/files/patch-logtool::Makefile.in
new file mode 100644
index 000000000000..0f0dbffba0c4
--- /dev/null
+++ b/sysutils/logtool-devel/files/patch-logtool::Makefile.in
@@ -0,0 +1,19 @@
+--- logtool/Makefile.in.orig Sun Feb 11 23:50:38 2001
++++ logtool/Makefile.in Sun Feb 11 23:54:02 2001
+@@ -16,6 +16,7 @@
+ CC = @CC@
+ INSTALL = @installprog@
+ CFLAGS= @CFLAGS@ @DEFS@ @LIBS@
++LIBS= -L/usr/local/lib -lgnugetopt
+
+ ### The stuff below is (I hope) no longer needed now that we us autoconf/configure and friends
+ # Solaris users should probably use the following instead (thanks Christoph Krempe <ck@ub.fu-berlin.de>)
+@@ -30,7 +31,7 @@
+
+ ### The main build stuff
+ logtool: logtool.o $(OBJS)
+- $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS)
++ $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) ${LIBS}
+ @echo "strip $(PROG)"
+ @strip $(PROG)
+