mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
Update to 1.4.12.
This commit is contained in:
parent
19defbd41b
commit
957772aec8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281836
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= libpri
|
PORTNAME= libpri
|
||||||
PORTVERSION= 1.4.11.5
|
PORTVERSION= 1.4.12
|
||||||
CATEGORIES= misc
|
CATEGORIES= misc
|
||||||
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/libpri/releases/
|
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/libpri/releases/
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (libpri-1.4.11.5.tar.gz) = f72f0bbf9115be939ccf24ebd83a3a1482603743dff91952d8afacb16b954e6f
|
SHA256 (libpri-1.4.12.tar.gz) = c0e170a742ed5d19515c99472fe79a467522355b3c24e4f7359d667b7d756e75
|
||||||
SIZE (libpri-1.4.11.5.tar.gz) = 235367
|
SIZE (libpri-1.4.12.tar.gz) = 339669
|
||||||
|
@ -1,15 +1,21 @@
|
|||||||
--- Makefile.orig 2010-02-11 23:35:49.000000000 +0600
|
--- Makefile.orig 2011-02-01 06:37:49.000000000 +0600
|
||||||
+++ Makefile 2010-10-10 12:40:22.000000000 +0700
|
+++ Makefile 2011-09-16 14:25:02.000000000 +0700
|
||||||
@@ -27,7 +27,7 @@
|
@@ -1,4 +1,4 @@
|
||||||
# Uncomment if you want libpri to count number of Q921/Q931 sent/received
|
-#
|
||||||
#LIBPRI_COUNTERS=-DLIBPRI_COUNTERS
|
+ #
|
||||||
|
# libpri: An implementation of Primary Rate ISDN
|
||||||
|
#
|
||||||
|
# Written by Mark Spencer <markster@linux-support.net>
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
# Uncomment if you want libpri not send PROGRESS_INDICATOR w/ALERTING
|
||||||
|
#ALERTING=-DALERTING_NO_PROGRESS
|
||||||
|
|
||||||
-CC=gcc
|
-CC=gcc
|
||||||
+CC?=gcc
|
+CC?=gcc
|
||||||
GREP=grep
|
GREP=grep
|
||||||
AWK=awk
|
AWK=awk
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@
|
@@ -34,7 +34,7 @@
|
||||||
# SONAME version; should be changed on every ABI change
|
# SONAME version; should be changed on every ABI change
|
||||||
# please don't change it needlessly; it's perfectly fine to have a SONAME
|
# please don't change it needlessly; it's perfectly fine to have a SONAME
|
||||||
# of 1.2 and a version of 1.4.x
|
# of 1.2 and a version of 1.4.x
|
||||||
@ -18,20 +24,20 @@
|
|||||||
|
|
||||||
STATIC_LIBRARY=libpri.a
|
STATIC_LIBRARY=libpri.a
|
||||||
DYNAMIC_LIBRARY:=libpri.so.$(SONAME)
|
DYNAMIC_LIBRARY:=libpri.so.$(SONAME)
|
||||||
@@ -83,9 +83,9 @@
|
@@ -90,9 +90,9 @@
|
||||||
rose_qsig_mwi.lo \
|
rose_qsig_mwi.lo \
|
||||||
rose_qsig_name.lo \
|
rose_qsig_name.lo \
|
||||||
version.lo
|
version.lo
|
||||||
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS) $(LIBPRI_OPT)
|
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_OPT) $(COVERAGE_CFLAGS)
|
||||||
-INSTALL_PREFIX=$(DESTDIR)
|
-INSTALL_PREFIX=$(DESTDIR)
|
||||||
-INSTALL_BASE=/usr
|
-INSTALL_BASE=/usr
|
||||||
+CFLAGS=-Wall -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS) $(LIBPRI_OPT)
|
+CFLAGS=-Wall -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_OPT) $(COVERAGE_CFLAGS)
|
||||||
+INSTALL_PREFIX=$(PREFIX)
|
+INSTALL_PREFIX=$(PREFIX)
|
||||||
+INSTALL_BASE=
|
+INSTALL_BASE=
|
||||||
libdir?=$(INSTALL_BASE)/lib
|
libdir?=$(INSTALL_BASE)/lib
|
||||||
SOFLAGS:=-Wl,-h$(DYNAMIC_LIBRARY)
|
ifneq ($(findstring Darwin,$(OSARCH)),)
|
||||||
LDCONFIG = /sbin/ldconfig
|
SOFLAGS=-dynamic -bundle -Xlinker -macosx_version_min -Xlinker 10.4 -Xlinker -undefined -Xlinker dynamic_lookup -force_flat_namespace
|
||||||
@@ -95,7 +95,7 @@
|
@@ -110,7 +110,7 @@
|
||||||
ifeq (${OSARCH},FreeBSD)
|
ifeq (${OSARCH},FreeBSD)
|
||||||
LDCONFIG_FLAGS=-m
|
LDCONFIG_FLAGS=-m
|
||||||
CFLAGS += -I../zaptel -I../zapata
|
CFLAGS += -I../zaptel -I../zapata
|
||||||
@ -40,7 +46,7 @@
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq (${OSARCH},SunOS)
|
ifeq (${OSARCH},SunOS)
|
||||||
@@ -147,12 +147,12 @@
|
@@ -168,12 +168,12 @@
|
||||||
mkdir -p $(INSTALL_PREFIX)$(libdir)
|
mkdir -p $(INSTALL_PREFIX)$(libdir)
|
||||||
mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/include
|
mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/include
|
||||||
ifneq (${OSARCH},SunOS)
|
ifneq (${OSARCH},SunOS)
|
||||||
@ -57,7 +63,7 @@
|
|||||||
else
|
else
|
||||||
install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/include -m 644 libpri.h
|
install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/include -m 644 libpri.h
|
||||||
install -f $(INSTALL_PREFIX)$(libdir) -m 755 $(DYNAMIC_LIBRARY)
|
install -f $(INSTALL_PREFIX)$(libdir) -m 755 $(DYNAMIC_LIBRARY)
|
||||||
@@ -188,7 +188,7 @@
|
@@ -209,7 +209,7 @@
|
||||||
$(CC) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $<
|
$(CC) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $<
|
||||||
|
|
||||||
%.lo: %.c
|
%.lo: %.c
|
||||||
@ -66,10 +72,10 @@
|
|||||||
|
|
||||||
$(STATIC_LIBRARY): $(STATIC_OBJS)
|
$(STATIC_LIBRARY): $(STATIC_OBJS)
|
||||||
ar rcs $(STATIC_LIBRARY) $(STATIC_OBJS)
|
ar rcs $(STATIC_LIBRARY) $(STATIC_OBJS)
|
||||||
@@ -196,7 +196,7 @@
|
@@ -217,7 +217,7 @@
|
||||||
|
|
||||||
$(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS)
|
$(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS)
|
||||||
$(CC) -shared $(SOFLAGS) -o $@ $(DYNAMIC_OBJS)
|
$(CC) $(SOFLAGS) -o $@ $(DYNAMIC_OBJS)
|
||||||
- $(LDCONFIG) $(LDCONFIG_FLAGS) .
|
- $(LDCONFIG) $(LDCONFIG_FLAGS) .
|
||||||
+ #$(LDCONFIG) $(LDCONFIG_FLAGS) .
|
+ #$(LDCONFIG) $(LDCONFIG_FLAGS) .
|
||||||
ln -sf libpri.so.$(SONAME) libpri.so
|
ln -sf libpri.so.$(SONAME) libpri.so
|
||||||
|
Loading…
Reference in New Issue
Block a user