ports/86872: Update port: devel/str to 0.9.11

Vasil Dimov vd at datamax.bg
Mon Oct 3 14:00:48 UTC 2005


>Number:         86872
>Category:       ports
>Synopsis:       Update port: devel/str to 0.9.11
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 03 14:00:40 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
DataMax
>Environment:

>Description:

Update devel/str from 0.9.10 to 0.9.11:
* set GNU_CONFIGURE
* fix irritating configure warning (although it is harmless)
* add test->build target dependency
* fine-tune make's environment in test target

There is a security fix in this release, so I marked the PR with
Priority: high

>How-To-Repeat:

>Fix:

--- str_0.9.10-0.9.11.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/str/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile	16 Sep 2005 17:58:28 -0000	1.19
+++ Makefile	3 Oct 2005 13:49:15 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	str
-PORTVERSION=	0.9.10
+PORTVERSION=	0.9.11
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_OSSP}
 MASTER_SITE_SUBDIR=	lib/${PORTNAME}
@@ -14,6 +14,8 @@
 MAINTAINER=	mnag at FreeBSD.org
 COMMENT=	Generic String Library
 
+GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 USE_LIBTOOL_VER=	15
 INSTALLS_SHLIB=	yes
 
@@ -23,7 +25,7 @@
 post-build:
 	@${ECHO_MSG} "===>  Use 'make test' to run a quick test suite."
 
-test:
-	@cd ${WRKSRC} && ${MAKE} test
+test: build
+	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/str/distinfo,v
retrieving revision 1.9
diff -u -r1.9 distinfo
--- distinfo	12 Apr 2005 21:53:06 -0000	1.9
+++ distinfo	3 Oct 2005 13:49:15 -0000
@@ -1,2 +1,2 @@
-MD5 (str-0.9.10.tar.gz) = 067832cd34c06980f2dc1bc4142d9987
-SIZE (str-0.9.10.tar.gz) = 356739
+MD5 (str-0.9.11.tar.gz) = e9ff9178f8532ff7237c8cd6b4508ad7
+SIZE (str-0.9.11.tar.gz) = 383023
--- str_0.9.10-0.9.11.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list