diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2006-06-19 07:52:13 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2006-06-19 07:52:13 +0000 |
commit | 5699e0c4baf67ebe3d53165b7591f566aceed944 (patch) | |
tree | bd76915a2a7e7eb9e14f47fbf09598a9188cc408 /misc/libpri | |
parent | dff1e277a2acd9a3ed9861e96c826b15babba620 (diff) | |
download | ports-5699e0c4baf67ebe3d53165b7591f566aceed944.tar.gz ports-5699e0c4baf67ebe3d53165b7591f566aceed944.zip |
Notes
Diffstat (limited to 'misc/libpri')
-rw-r--r-- | misc/libpri/Makefile | 3 | ||||
-rw-r--r-- | misc/libpri/distinfo | 6 | ||||
-rw-r--r-- | misc/libpri/files/patch-Makefile | 26 |
3 files changed, 20 insertions, 15 deletions
diff --git a/misc/libpri/Makefile b/misc/libpri/Makefile index de417c50ce4c..0618ec61335e 100644 --- a/misc/libpri/Makefile +++ b/misc/libpri/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libpri -PORTVERSION= 1.2.2 -PORTREVISION= 1 +PORTVERSION= 1.2.3 CATEGORIES= misc MASTER_SITES= ftp://ftp.digium.com/pub/libpri/ \ ftp://ftp.digium.com/pub/libpri/old/ diff --git a/misc/libpri/distinfo b/misc/libpri/distinfo index cfa28374603b..6f950b1fd966 100644 --- a/misc/libpri/distinfo +++ b/misc/libpri/distinfo @@ -1,6 +1,6 @@ -MD5 (libpri-1.2.2.tar.gz) = efce9c3699110588df5e4cf09eae01d9 -SHA256 (libpri-1.2.2.tar.gz) = 168fce4699b77c1ac5ae176237dae2f289714be95ddd2fe8bdc25a22f00318dd -SIZE (libpri-1.2.2.tar.gz) = 76070 +MD5 (libpri-1.2.3.tar.gz) = f365d9ee29a7253d605729a6d07ebfff +SHA256 (libpri-1.2.3.tar.gz) = f4ca5d72aa4b5e5c99c4e1a9de7235af5ed12b51a20dd757f071f5d7cf9d0fd0 +SIZE (libpri-1.2.3.tar.gz) = 76348 MD5 (libpri-1.2.2-bristuff-0.3.0-PRE-1l.patch.gz) = e24e00f07601f6c43fb3825d0e67af3c SHA256 (libpri-1.2.2-bristuff-0.3.0-PRE-1l.patch.gz) = 92b4a8e5a36bb772b8cfc7e8563d4c422dec9415bc1f3247179a83ddf8352fdf SIZE (libpri-1.2.2-bristuff-0.3.0-PRE-1l.patch.gz) = 43755 diff --git a/misc/libpri/files/patch-Makefile b/misc/libpri/files/patch-Makefile index c274238c5b41..c38b3fd90f4b 100644 --- a/misc/libpri/files/patch-Makefile +++ b/misc/libpri/files/patch-Makefile @@ -1,5 +1,8 @@ ---- Makefile.orig Wed Jan 11 02:19:14 2006 -+++ Makefile Wed Apr 26 02:47:21 2006 + +$FreeBSD$ + +--- Makefile.orig ++++ Makefile @@ -27,7 +27,7 @@ # Uncomment if you want libpri to count number of Q921/Q931 sent/received #LIBPRI_COUNTERS=-DLIBPRI_COUNTERS @@ -18,15 +21,15 @@ STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo -CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS) --INSTALL_PREFIX?= +-INSTALL_PREFIX=$(DESTDIR) -INSTALL_BASE=/usr -SOFLAGS = -Wl,-hlibpri.so.1.0 +CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS) -+INSTALL_PREFIX?=$(PREFIX) ++INSTALL_PREFIX=$(PREFIX) +INSTALL_BASE= +SOFLAGS = -Wl,-hlibpri.so.1 LDCONFIG = /sbin/ldconfig - ifeq (${OSARCH},Linux) + ifneq (,$(findstring $(OSARCH), Linux GNU/kFreeBSD)) LDCONFIG_FLAGS=-n @@ -84,12 +84,11 @@ mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/lib @@ -37,7 +40,7 @@ - if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then restorecon -v $(INSTALL_PREFIX)$(INSTALL_BASE)/lib/$(DYNAMIC_LIBRARY); fi - ( cd $(INSTALL_PREFIX)$(INSTALL_BASE)/lib ; ln -sf libpri.so.1.0 libpri.so ; ln -sf libpri.so.1.0 libpri.so.1 ) - install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib -- if test $$(id -u) = 0; then $(LDCONFIG); fi +- if test $$(id -u) = 0; then $(LDCONFIG) $(LDCONFIG_FLAGS) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib; fi + echo installing libpri.h + $(BSD_INSTALL_DATA) libpri.h $(INSTALL_PREFIX)/include + $(BSD_INSTALL_PROGRAM) $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)/lib @@ -46,11 +49,14 @@ else install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/include -m 644 libpri.h install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/lib -m 755 $(DYNAMIC_LIBRARY) -@@ -130,7 +129,6 @@ +@@ -130,10 +129,6 @@ $(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS) $(CC) -shared $(SOFLAGS) -o $@ $(DYNAMIC_OBJS) - $(LDCONFIG) $(LDCONFIG_FLAGS) . - ln -sf libpri.so.1.0 libpri.so - ln -sf libpri.so.1.0 libpri.so.1 - $(SOSLINK) +- ln -sf libpri.so.1.0 libpri.so +- ln -sf libpri.so.1.0 libpri.so.1 +- $(SOSLINK) + + clean: + rm -f *.o *.so *.lo *.so.1 *.so.1.0 |