diff options
author | wiz <wiz@pkgsrc.org> | 2003-09-18 18:55:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-09-18 18:55:19 +0000 |
commit | cd583d38c87cdead4bbca6bc7d957bb7e1e91c49 (patch) | |
tree | 817f5d3680a91561cc28e9e5006178e7aba0db4f /audio | |
parent | 7c3c0cef4a79833006d828ba1ea436bde79587c3 (diff) | |
download | pkgsrc-cd583d38c87cdead4bbca6bc7d957bb7e1e91c49.tar.gz |
Call libtool with appropriate --mode argument. From Ron Roskens in PR 22826.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gsm/distinfo | 4 | ||||
-rw-r--r-- | audio/gsm/patches/patch-ab | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/audio/gsm/distinfo b/audio/gsm/distinfo index 46db3e6e94d..5b6ec4567bf 100644 --- a/audio/gsm/distinfo +++ b/audio/gsm/distinfo @@ -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 --git a/audio/gsm/patches/patch-ab b/audio/gsm/patches/patch-ab index b2fcde8d58b..3dd888ea51b 100644 --- a/audio/gsm/patches/patch-ab +++ b/audio/gsm/patches/patch-ab @@ -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 @@ $NetBSD: patch-ab,v 1.6 2000/01/26 22:09:32 jlam Exp $ @-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 @@ $NetBSD: patch-ab,v 1.6 2000/01/26 22:09:32 jlam Exp $ - $(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 @@ $NetBSD: patch-ab,v 1.6 2000/01/26 22:09:32 jlam Exp $ $(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 @@ $NetBSD: patch-ab,v 1.6 2000/01/26 22:09:32 jlam Exp $ - -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 @@ $NetBSD: patch-ab,v 1.6 2000/01/26 22:09:32 jlam Exp $ + ${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 |