From vd@datamax.bg  Mon Oct  3 07:11:12 2005
Return-Path: <vd@datamax.bg>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1DBF916A421;
	Mon,  3 Oct 2005 07:11:11 +0000 (GMT)
	(envelope-from vd@datamax.bg)
Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 78A0F43D45;
	Mon,  3 Oct 2005 07:11:10 +0000 (GMT)
	(envelope-from vd@datamax.bg)
Received: from sinanica.bg.datamax (sinanica.bg.datamax [192.168.10.1])
	by jengal.datamax.bg (Postfix) with QMQP
	id 7CE2887CD; Mon,  3 Oct 2005 10:11:09 +0300 (EEST)
Received: (nullmailer pid 64688 invoked by uid 1004);
	Mon, 03 Oct 2005 07:11:09 -0000
Message-Id: <20051003071109.GA64594@sinanica.bg.datamax>
Date: Mon, 3 Oct 2005 10:11:09 +0300
From: Vasil Dimov <vd@datamax.bg>
Reply-To: vd@datamax.bg
To: FreeBSD-gnats-submit@freebsd.org
Cc: mnag@FreeBSD.org
Subject: Update port: net/ossp-sa to 1.2.5
X-Send-Pr-Version: 3.113

>Number:         86857
>Category:       ports
>Synopsis:       Update port: net/ossp-sa to 1.2.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mnag
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 03 07:20:21 GMT 2005
>Closed-Date:    Mon Oct 03 13:33:25 GMT 2005
>Last-Modified:  Mon Oct 03 13:33:25 GMT 2005
>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:

From: Vasil Dimov <vd@datamax.bg>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/86857: Update port: net/ossp-sa to 1.2.5
Date: Mon, 3 Oct 2005 14:28:32 +0300

 Please close this PR, a superior one (ports/86866) is waiting in the
 queue.
Responsible-Changed-From-To: freebsd-ports-bugs->mnag 
Responsible-Changed-By: mnag 
Responsible-Changed-When: Mon Oct 3 13:15:27 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86857 
State-Changed-From-To: open->closed 
State-Changed-By: mnag 
State-Changed-When: Mon Oct 3 13:33:24 GMT 2005 
State-Changed-Why:  
Supersedes by 86866. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86857 
>Unformatted:
