aboutsummaryrefslogtreecommitdiff
path: root/audio/gsm/files
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-23 18:04:03 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-23 18:04:03 +0000
commit3bc52dbe1c38af5a8683b99be1b596dbec484b56 (patch)
treeae4e87c99856f586f1a9b788579fc5bd4cab63f4 /audio/gsm/files
parent3b2505c8c5c2b92670d746640a26d47045b2837a (diff)
downloadports-3bc52dbe1c38af5a8683b99be1b596dbec484b56.tar.gz
ports-3bc52dbe1c38af5a8683b99be1b596dbec484b56.zip
Notes
Diffstat (limited to 'audio/gsm/files')
-rw-r--r--audio/gsm/files/patch-ab143
1 files changed, 55 insertions, 88 deletions
diff --git a/audio/gsm/files/patch-ab b/audio/gsm/files/patch-ab
index 5377453e4f98..beff87387778 100644
--- a/audio/gsm/files/patch-ab
+++ b/audio/gsm/files/patch-ab
@@ -1,5 +1,5 @@
-*** Makefile.orig Tue Jul 2 09:36:06 1996
---- Makefile Tue Sep 22 12:40:53 1998
+*** Makefile.orig Tue Jul 2 23:36:06 1996
+--- Makefile Tue Dec 7 00:06:25 1999
***************
*** 7,17 ****
SASR = -DSASR
@@ -206,7 +206,7 @@
tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
***************
-*** 299,321 ****
+*** 299,322 ****
# The basic API: libgsm
@@ -223,14 +223,15 @@
$(UNTOAST): $(BIN) $(TOAST)
! -rm $(RMFLAGS) $(UNTOAST)
- $(LN) $(TOAST) $(UNTOAST)
+! $(LN) $(TOAST) $(UNTOAST)
$(TCAT): $(BIN) $(TOAST)
! -rm $(RMFLAGS) $(TCAT)
- $(LN) $(TOAST) $(TCAT)
+! $(LN) $(TOAST) $(TCAT)
---- 314,344 ----
+ # The local bin and lib directories
+--- 314,345 ----
# The basic API: libgsm
@@ -240,7 +241,7 @@
! .else
! ld -Bshareable -o $@ $(GSM_OBJECTS:S/o$/so/g)
! .endif
-! (cd $(LIB); ln -sf $(SOLIBGSM) `echo $(SOLIBGSM) | sed 's/\.so.*$$/.so/'`)
+! (cd $(LIB); $(LN) -sf $(SOLIBGSM) `echo $(SOLIBGSM) | sed 's/\.so.*$$/.so/'`)
!
! $(LIB)/$(LIBGSM): $(LIB) $(GSM_OBJECTS)
! $(RM) $(RMFLAGS) $(LIBGSM)
@@ -255,13 +256,14 @@
$(UNTOAST): $(BIN) $(TOAST)
! $(RM) $(RMFLAGS) $(UNTOAST)
- $(LN) $(TOAST) $(UNTOAST)
+! $(LN) -sf $(TOAST) $(UNTOAST)
$(TCAT): $(BIN) $(TOAST)
! $(RM) $(RMFLAGS) $(TCAT)
- $(LN) $(TOAST) $(TCAT)
+! $(LN) -sf $(TOAST) $(TCAT)
+ # The local bin and lib directories
***************
*** 342,403 ****
@@ -277,56 +279,56 @@
$(TOAST_INSTALL_BIN)/toast: $(TOAST)
! -rm $@
- cp $(TOAST) $@
- chmod 755 $@
+! cp $(TOAST) $@
+! chmod 755 $@
$(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast
! -rm $@
- ln $? $@
+! ln $? $@
$(TOAST_INSTALL_BIN)/tcat: $(TOAST_INSTALL_BIN)/toast
! -rm $@
- ln $? $@
+! ln $? $@
$(TOAST_INSTALL_MAN)/toast.1: $(MAN)/toast.1
! -rm $@
- cp $? $@
- chmod 444 $@
+! cp $? $@
+! chmod 444 $@
$(GSM_INSTALL_MAN)/gsm.3: $(MAN)/gsm.3
! -rm $@
- cp $? $@
- chmod 444 $@
+! cp $? $@
+! chmod 444 $@
$(GSM_INSTALL_MAN)/gsm_option.3: $(MAN)/gsm_option.3
! -rm $@
- cp $? $@
- chmod 444 $@
+! cp $? $@
+! chmod 444 $@
$(GSM_INSTALL_MAN)/gsm_explode.3: $(MAN)/gsm_explode.3
! -rm $@
- cp $? $@
- chmod 444 $@
+! cp $? $@
+! chmod 444 $@
$(GSM_INSTALL_MAN)/gsm_print.3: $(MAN)/gsm_print.3
! -rm $@
- cp $? $@
- chmod 444 $@
+! cp $? $@
+! chmod 444 $@
$(GSM_INSTALL_INC)/gsm.h: $(INC)/gsm.h
! -rm $@
- cp $? $@
- chmod 444 $@
-
+! cp $? $@
+! chmod 444 $@
+!
! $(GSM_INSTALL_LIB)/libgsm.a: $(LIBGSM)
! -rm $@
- cp $? $@
- chmod 444 $@
+! cp $? $@
+! chmod 444 $@
# Distribution
---- 365,432 ----
+--- 365,431 ----
gsmuninstall:
-if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \
@@ -340,92 +342,57 @@
$(TOAST_INSTALL_BIN)/toast: $(TOAST)
! $(RM) $@
- cp $(TOAST) $@
- chmod 755 $@
+! ${BSD_INSTALL_PROGRAM} $(TOAST) $@
$(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast
! $(RM) $@
- ln $? $@
+! $(LN) -sf toast $@
$(TOAST_INSTALL_BIN)/tcat: $(TOAST_INSTALL_BIN)/toast
! $(RM) $@
- ln $? $@
+! $(LN) -sf toast $@
$(TOAST_INSTALL_MAN)/toast.1: $(MAN)/toast.1
! $(RM) $@
- cp $? $@
- chmod 444 $@
+! ${BSD_INSTALL_MAN} $? $@
+!
+! $(TOAST_INSTALL_MAN)/untoast.1: $(MAN)/toast.1
+! $(RM) $@
+! $(LN) -sf toast.1 $@
+!
+! $(TOAST_INSTALL_MAN)/tcat.1: $(MAN)/toast.1
+! $(RM) $@
+! $(LN) -sf toast.1 $@
$(GSM_INSTALL_MAN)/gsm.3: $(MAN)/gsm.3
! $(RM) $@
- cp $? $@
- chmod 444 $@
+! ${BSD_INSTALL_MAN} $? $@
$(GSM_INSTALL_MAN)/gsm_option.3: $(MAN)/gsm_option.3
! $(RM) $@
- cp $? $@
- chmod 444 $@
+! ${BSD_INSTALL_MAN} $? $@
$(GSM_INSTALL_MAN)/gsm_explode.3: $(MAN)/gsm_explode.3
! $(RM) $@
- cp $? $@
- chmod 444 $@
+! ${BSD_INSTALL_MAN} $? $@
$(GSM_INSTALL_MAN)/gsm_print.3: $(MAN)/gsm_print.3
! $(RM) $@
- cp $? $@
- chmod 444 $@
+! ${BSD_INSTALL_MAN} $? $@
$(GSM_INSTALL_INC)/gsm.h: $(INC)/gsm.h
! $(RM) $@
- cp $? $@
- chmod 444 $@
-
-! $(GSM_INSTALL_LIB)/$(LIBGSM): $(LIB)/$(LIBGSM)
-! $(RM) $@
- cp $? $@
- chmod 444 $@
-+ ranlib $@
+! ${BSD_INSTALL_DATA} $? $@
++ $(GSM_INSTALL_LIB)/$(LIBGSM): $(LIB)/$(LIBGSM)
++ $(RM) $@
++ ${BSD_INSTALL_DATA} $? $@
++ $(RANLIB) $@
++
+ $(GSM_INSTALL_LIB)/$(SOLIBGSM): $(LIB)/$(SOLIBGSM)
+ $(RM) $@
-+ cp $? $@
-+ chmod 444 $@
-+ (cd ${PREFIX}/lib;ln -sf $(SOLIBGSM) `echo $(SOLIBGSM) | sed 's/\.so.*$$/.so/'`)
++ ${BSD_INSTALL_DATA} $? $@
++ (cd $(GSM_INSTALL_LIB); $(LN) -sf $(SOLIBGSM) `echo $(SOLIBGSM) | sed 's/\.so.*$$/.so/'`)
# Distribution
-***************
-*** 416,422 ****
- @-echo uninstall: Done.
-
- semi-clean:
-! -rm $(RMFLAGS) */*.o \
- $(TST)/lin2cod $(TST)/lin2txt \
- $(TST)/cod2lin $(TST)/cod2txt \
- $(TST)/gsm2cod \
---- 445,451 ----
- @-echo uninstall: Done.
-
- semi-clean:
-! $(RM) $(RMFLAGS) */*.o \
- $(TST)/lin2cod $(TST)/lin2txt \
- $(TST)/cod2lin $(TST)/cod2txt \
- $(TST)/gsm2cod \
-***************
-*** 425,431 ****
- -print | xargs rm $(RMFLAGS)
-
- clean: semi-clean
-! -rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \
- $(TOAST) $(TCAT) $(UNTOAST) \
- $(ROOT)/gsm-1.0.tar.Z
-
---- 454,460 ----
- -print | xargs rm $(RMFLAGS)
-
- clean: semi-clean
-! $(RM) $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \
- $(TOAST) $(TCAT) $(UNTOAST) \
- $(ROOT)/gsm-1.0.tar.Z
-