pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/gsm Call libtool with appropriate --mode argumen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9aa53a26091
branches:  trunk
changeset: 461645:d9aa53a26091
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Sep 18 18:55:19 2003 +0000

description:
Call libtool with appropriate --mode argument. From Ron Roskens in PR 22826.

diffstat:

 audio/gsm/distinfo         |   4 ++--
 audio/gsm/patches/patch-ab |  12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (67 lines):

diff -r 274492cbee7e -r d9aa53a26091 audio/gsm/distinfo
--- a/audio/gsm/distinfo        Thu Sep 18 18:52:55 2003 +0000
+++ b/audio/gsm/distinfo        Thu Sep 18 18:55:19 2003 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 12:14:30 agc Exp $
+$NetBSD: distinfo,v 1.3 2003/09/18 18:55:19 wiz Exp $
 
 SHA1 (gsm-1.0.10.tar.gz) = ee47a81f4137bf3ce933dc610cb2293055ce9c02
 Size (gsm-1.0.10.tar.gz) = 65928 bytes
 SHA1 (patch-aa) = e976c2ceb5e21bc77c51830cbaef9a94c8e0baf2
-SHA1 (patch-ab) = 989ea8de589a43ebf91c8f78f4b2aa722f6c91d3
+SHA1 (patch-ab) = 88bc6a8d77589f0ee95fca9268ae36a8d4a8b50a
 SHA1 (patch-ac) = 9e4e582cfd4f6892531578d9df25a29485e8cf32
diff -r 274492cbee7e -r d9aa53a26091 audio/gsm/patches/patch-ab
--- a/audio/gsm/patches/patch-ab        Thu Sep 18 18:52:55 2003 +0000
+++ b/audio/gsm/patches/patch-ab        Thu Sep 18 18:55:19 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.6 2000/01/26 22:09:32 jlam Exp $
+$NetBSD: patch-ab,v 1.7 2003/09/18 18:55:23 wiz Exp $
 
 --- Makefile.orig      Tue Jul  2 10:36:06 1996
 +++ Makefile   Sun Jan 16 02:16:43 2000
@@ -103,7 +103,7 @@
                @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
  
 +.c.lo:
-+              cd `${DIRNAME} $@` && ${LIBTOOL} ${CC} ${CFLAGS} $?
++              cd `${DIRNAME} $@` && ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} $?
 +
  # Target rules
  
@@ -118,7 +118,7 @@
 -              $(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS)
 -              $(RANLIB) $(LIBGSM)
 +              cd $(LIB) && \
-+                      $(LIBTOOL) $(CC) -o `$(BASENAME) $@` \
++                      $(LIBTOOL) --mode=link $(CC) -o `$(BASENAME) $@` \
 +                              $(GSM_OBJECTS:.o=.lo) \
 +                              -rpath $(GSM_INSTALL_LIB) -version-info 1:10
  
@@ -128,7 +128,7 @@
  $(TOAST):     $(BIN) $(TOAST_OBJECTS) $(LIBGSM)
 -              $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB)
 +              cd $(BIN) && \
-+                      $(LIBTOOL) $(LD) $(LFLAGS) -o `$(BASENAME) $@` \
++                      $(LIBTOOL) --mode=link $(LD) $(LFLAGS) -o `$(BASENAME) $@` \
 +                              $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB)
  
  $(UNTOAST):   $(BIN) $(TOAST)
@@ -155,7 +155,7 @@
 -              -rm $@
 -              cp $(TOAST) $@
 -              chmod 755 $@
-+              ${LIBTOOL} ${BSD_INSTALL_PROGRAM} $? $(TOAST_INSTALL_BIN)
++              ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} $? $(TOAST_INSTALL_BIN)
  
  $(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast
 -              -rm $@
@@ -209,7 +209,7 @@
 +              ${BSD_INSTALL_DATA} $? $(GSM_INSTALL_INC)
 +
 +$(GSM_INSTALL_LIB)/libgsm.la: $(LIBGSM)
-+              ${LIBTOOL} ${BSD_INSTALL_DATA} $? $(GSM_INSTALL_LIB)
++              ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} $? $(GSM_INSTALL_LIB)
  
  
  # Distribution



Home | Main Index | Thread Index | Old Index