pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/asterisk Ensure that PROC is set on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/226e0bdbf28b
branches:  trunk
changeset: 514449:226e0bdbf28b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jun 12 14:35:35 2006 +0000

description:
Ensure that PROC is set on DragonFly.

diffstat:

 comms/asterisk/distinfo         |   4 ++--
 comms/asterisk/patches/patch-aa |  25 ++++++++++++++++---------
 2 files changed, 18 insertions(+), 11 deletions(-)

diffs (97 lines):

diff -r 231d8cb7cb32 -r 226e0bdbf28b comms/asterisk/distinfo
--- a/comms/asterisk/distinfo   Mon Jun 12 14:33:13 2006 +0000
+++ b/comms/asterisk/distinfo   Mon Jun 12 14:35:35 2006 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.14 2006/05/31 18:43:15 adam Exp $
+$NetBSD: distinfo,v 1.15 2006/06/12 14:35:35 joerg Exp $
 
 SHA1 (asterisk-1.2.8.tar.gz) = 438d39803f092d827ef957651e5cc3e3a2253814
 RMD160 (asterisk-1.2.8.tar.gz) = 28040ff0f0a74cce577996e8f075e20dafc4bb31
 Size (asterisk-1.2.8.tar.gz) = 10567488 bytes
-SHA1 (patch-aa) = c422fa7784de14af8be30bafa8c2c9b60b0fc2ec
+SHA1 (patch-aa) = 8bd803623f6bef2723c5a3ea670be1b5f8aa1077
 SHA1 (patch-ab) = 1bdae0ff206b63fe63373a307ecd23859c10cb79
 SHA1 (patch-ac) = 4f783699c7d701030788646f8b961fa9245dc127
 SHA1 (patch-ad) = bfc898732884063c6c300b15674e462793588601
diff -r 231d8cb7cb32 -r 226e0bdbf28b comms/asterisk/patches/patch-aa
--- a/comms/asterisk/patches/patch-aa   Mon Jun 12 14:33:13 2006 +0000
+++ b/comms/asterisk/patches/patch-aa   Mon Jun 12 14:35:35 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.9 2006/05/31 18:43:15 adam Exp $
+$NetBSD: patch-aa,v 1.10 2006/06/12 14:35:35 joerg Exp $
 
---- Makefile.orig      2006-04-30 16:27:56.000000000 +0200
+--- Makefile.orig      2006-04-30 14:27:56.000000000 +0000
 +++ Makefile
 @@ -46,7 +46,6 @@ ifneq ($(findstring dont-optimize,$(MAKE
  #K6OPT  = -DK6OPT
@@ -65,7 +65,7 @@
    MODULES_DIR=$(ASTLIBDIR)/modules
    AGI_DIR=$(ASTVARLIBDIR)/agi-bin
  endif
-@@ -225,7 +225,7 @@ ASTCFLAGS+=$(OPTIMIZE)
+@@ -225,10 +225,14 @@ ASTCFLAGS+=$(OPTIMIZE)
  ASTOBJ=-o asterisk
  
  ifeq ($(findstring BSD,$(OSARCH)),BSD)
@@ -74,7 +74,14 @@
    ASTCFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
  endif
  
-@@ -256,24 +256,24 @@ ifeq ($(OSARCH),FreeBSD)
++ifeq ($(OSARCH),DragonFly)
++  PROC=$(shell uname -p)
++endif
++
+ ifneq ($(PROC),ultrasparc)
+   ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
+ endif
+@@ -256,24 +260,24 @@ ifeq ($(OSARCH),FreeBSD)
  
    # XXX FreeBSD paths
    PREFIX?=/usr/local
@@ -111,7 +118,7 @@
    MPG123TARG=netbsd
  endif
  
-@@ -292,7 +292,7 @@ ifeq ($(findstring CYGWIN,$(OSARCH)),CYG
+@@ -292,7 +296,7 @@ ifeq ($(findstring CYGWIN,$(OSARCH)),CYG
    ASTOBJ=-shared -o asterisk.dll -Wl,--out-implib=libasterisk.dll.a -Wl,--export-all-symbols
    ASTLINK=
    LIBS+=-lpthread -lncurses -lm -lresolv
@@ -120,7 +127,7 @@
    PROC=$(shell uname -m)
  endif
  
-@@ -369,7 +369,8 @@ ifeq ($(OSARCH),Darwin)
+@@ -369,7 +373,8 @@ ifeq ($(OSARCH),Darwin)
    AUDIO_LIBS=-framework CoreAudio
    ASTLINK=-Wl,-dynamic
    SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
@@ -130,7 +137,7 @@
    ASTCFLAGS+=-DPOLLCOMPAT
  else
  #These are used for all but Darwin
-@@ -381,8 +382,12 @@ ifeq ($(OSARCH),FreeBSD)
+@@ -381,8 +386,12 @@ ifeq ($(OSARCH),FreeBSD)
    LIBS+=-lcrypto
  endif
  
@@ -144,7 +151,7 @@
  endif
  
  ifeq ($(OSARCH),OpenBSD)
-@@ -720,31 +725,31 @@ install: all datafiles bininstall instal
+@@ -720,31 +729,31 @@ install: all datafiles bininstall instal
  upgrade: all bininstall
  
  adsi:
@@ -185,7 +192,7 @@
                ( \
                echo "[directories]" ; \
                echo "astetcdir => $(ASTETCDIR)" ; \
-@@ -761,7 +766,7 @@ samples: adsi
+@@ -761,7 +770,7 @@ samples: adsi
                echo ";astctlowner = root" ; \
                echo ";astctlgroup = apache" ; \
                echo ";astctl = asterisk.ctl" ; \



Home | Main Index | Thread Index | Old Index