28 lines
944 B
Text
28 lines
944 B
Text
$NetBSD: patch-aa,v 1.9 2008/03/05 15:01:06 jlam Exp $
|
|
|
|
--- src/Makefile.in.orig 2007-04-28 16:02:22.000000000 -0400
|
|
+++ src/Makefile.in
|
|
@@ -26,9 +26,9 @@ SRCS = $(OBJS:.o=.c) comptime.c
|
|
|
|
all: dep ekg @ioctld@
|
|
|
|
-ekg: $(OBJS) comptime.c @libgadu_a@
|
|
+ekg: $(OBJS) comptime.c
|
|
$(CC) $(CFLAGS) -c -o comptime.o comptime.c
|
|
- $(CC) $(CFLAGS) -o ekg $(OBJS) comptime.o -L../lib @lgadu@ @libgadu_a@ $(LDFLAGS) $(LIBS)
|
|
+ ${LIBTOOL} --mode=link $(CC) $(CFLAGS) -o ekg $(OBJS) comptime.o ../lib/libgadu.la $(LDFLAGS) $(LIBS)
|
|
|
|
ioctld: ioctld.c
|
|
$(CC) $(CFLAGS) ioctld.c -o ioctld $(LIBS) @IOCTLD_OBJS@
|
|
@@ -42,9 +42,9 @@ dep: .depend
|
|
|
|
install: all install-ekg @install_ioctld@
|
|
|
|
-install-ekg: @strip_ekg@
|
|
+install-ekg:
|
|
$(INSTALL) -d $(DESTDIR)$(bindir)
|
|
- $(INSTALL) -m 755 ekg $(DESTDIR)$(bindir)
|
|
+ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} ekg $(DESTDIR)$(bindir)
|
|
|
|
install-ioctld: @strip_ioctld@
|
|
$(INSTALL) -d $(DESTDIR)$(libexecdir)
|