Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Oct 2005 10:11:09 +0300
From:      Vasil Dimov <vd@datamax.bg>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mnag@FreeBSD.org
Subject:   ports/86857: Update port: net/ossp-sa to 1.2.5
Message-ID:  <20051003071109.GA64594@sinanica.bg.datamax>
Resent-Message-ID: <200510030720.j937KLcu040939@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86857
>Category:       ports
>Synopsis:       Update port: net/ossp-sa to 1.2.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 03 07:20:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
DataMax
>Environment:

>Description:

Update net/ossp-sa from 1.2.4 to 1.2.5:
* fix irritating configure warning (although it is harmless)
* add wrap-target to package's internal `check' target
* add patch for Makefile.in to install sa.pc in the right directory
* add sa.pc to pkg-plist

>How-To-Repeat:

>Fix:

--- ossp-sa_1.2.4-1.2.5.diff begins here ---
diff -urN --exclude=CVS --exclude=work /usr/ports/net/ossp-sa/Makefile ossp-sa/Makefile
--- /usr/ports/net/ossp-sa/Makefile	Sat Sep 17 02:23:08 2005
+++ ossp-sa/Makefile	Mon Oct  3 09:57:44 2005
@@ -8,7 +8,7 @@
 #
 
 PORTNAME=	sa
-PORTVERSION=	1.2.4
+PORTVERSION=	1.2.5
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_OSSP}
 MASTER_SITE_SUBDIR=	lib/${PORTNAME}
@@ -21,9 +21,13 @@
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--with-ex=${LOCALBASE}
 USE_LIBTOOL_VER=	15
 INSTALLS_SHLIB=	yes
 MAN3+=		sa.3
+
+check: build
+	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
 
 .include <bsd.port.mk>
diff -urN --exclude=CVS --exclude=work /usr/ports/net/ossp-sa/distinfo ossp-sa/distinfo
--- /usr/ports/net/ossp-sa/distinfo	Tue Feb  1 10:37:45 2005
+++ ossp-sa/distinfo	Mon Oct  3 08:47:38 2005
@@ -1,2 +1,2 @@
-MD5 (sa-1.2.4.tar.gz) = b7fa70bef195f81fa72f2471d47b793c
-SIZE (sa-1.2.4.tar.gz) = 338009
+MD5 (sa-1.2.5.tar.gz) = 1393db6eeaf229746c245fe9cf65c93b
+SIZE (sa-1.2.5.tar.gz) = 346713
diff -urN --exclude=CVS --exclude=work /usr/ports/net/ossp-sa/files/patch-Makefile.in ossp-sa/files/patch-Makefile.in
--- /usr/ports/net/ossp-sa/files/patch-Makefile.in	Thu Jan  1 02:00:00 1970
+++ ossp-sa/files/patch-Makefile.in	Mon Oct  3 09:00:39 2005
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Mon Oct  3 08:58:55 2005
++++ Makefile.in	Mon Oct  3 09:00:08 2005
+@@ -94,7 +94,7 @@
+ 	$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)/pkgconfig
+ 	$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man3
+ 	$(SHTOOL) install -c -m 755 sa-config $(DESTDIR)$(bindir)/
+-	$(SHTOOL) install -c -m 644 sa.pc $(DESTDIR)$(libdir)/pkgconfig/
++	$(SHTOOL) install -c -m 644 sa.pc $(DESTDIR)$(prefix)/libdata/pkgconfig/
+ 	$(SHTOOL) install -c -m 644 sa.h $(DESTDIR)$(includedir)/
+ 	$(SHTOOL) install -c -m 644 sa.3 $(DESTDIR)$(mandir)/man3/
+ 	@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libsa.la $(DESTDIR)$(libdir)/
diff -urN --exclude=CVS --exclude=work /usr/ports/net/ossp-sa/pkg-plist ossp-sa/pkg-plist
--- /usr/ports/net/ossp-sa/pkg-plist	Mon Apr 26 16:08:20 2004
+++ ossp-sa/pkg-plist	Mon Oct  3 09:09:10 2005
@@ -4,3 +4,4 @@
 lib/libsa.la
 lib/libsa.so
 lib/libsa.so.12
+libdata/pkgconfig/sa.pc
--- ossp-sa_1.2.4-1.2.5.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051003071109.GA64594>