Date: Thu, 8 Apr 2010 10:42:17 GMT From: ej-sib <echoes_x865@mail.goo.ne.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/145512: Update port math/libranlib to version 1.3 Message-ID: <201004081042.o38AgHnV063261@www.freebsd.org> Resent-Message-ID: <201004081050.o38Ao4aV071510@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 145512 >Category: ports >Synopsis: Update port math/libranlib to version 1.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 08 10:50:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: ej-sib >Release: >Organization: >Environment: FreeBSD blizzard.jp 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Attached patches update math/libranlib to version 1.3 and rename the library name to librandlib. To avoid confusion with "ranlib" command, it is preferable that the library is renamed to randlib. However I don't know how to list the ports which require libranlib... >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ur /usr/ports/math/libranlib/Makefile ./Makefile --- /usr/ports/math/libranlib/Makefile 2008-11-07 01:05:24.000000000 +0900 +++ ./Makefile 2010-04-08 18:48:23.000000000 +0900 @@ -5,31 +5,31 @@ # $FreeBSD: ports/math/libranlib/Makefile,v 1.15 2008/11/06 16:05:24 jadawin Exp $ # -PORTNAME= ranlib -PORTVERSION= 1.0 +PORTNAME= randlib +PORTVERSION= 1.3 CATEGORIES= math -MASTER_SITES= ftp://ftp.netlib.org/random/ -DISTNAME= ranlib.c +MASTER_SITES= http://biostatistics.mdanderson.org/SoftwareDownload/ProductDownloadFiles/ +DISTNAME= RANDLIB_V90 MAINTAINER= ports@FreeBSD.org COMMENT= Library of Routines for Random Number Generation USE_LDCONFIG= yes MAKE_ENV= NOPROFILE=true -WRKSRC= ${WRKDIR}/${DISTNAME}/src -PORTDOCS= Basegen.c.doc ranlib.c.chs ranlib.c.fdoc -PLIST_FILES= include/ranlib.h \ - lib/libranlib.a \ - lib/libranlib.so \ - lib/libranlib.so.1 +WRKSRC= ${WRKDIR}/source/randlib.c/src +PORTDOCS= Basegen.c.doc randlib.c.chs randlib.c.fdoc +PLIST_FILES= include/randlib.h \ + lib/librandlib.a \ + lib/librandlib.so \ + lib/librandlib.so.1 post-extract: ${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - cd ${WRKDIR}/${DISTNAME}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + @${MKDIR} ${PREFIX}/share/doc/randlib + @${INSTALL_DATA} ${WRKDIR}/source/randlib.c/doc/* ${PREFIX}/share/doc/randlib .endif .include <bsd.port.mk> diff -ur /usr/ports/math/libranlib/distinfo ./distinfo --- /usr/ports/math/libranlib/distinfo 2006-01-22 21:56:32.000000000 +0900 +++ ./distinfo 2010-04-08 18:40:39.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (ranlib.c.tar.gz) = 110d02ab91eb834e45044bb0368dfb7e -SHA256 (ranlib.c.tar.gz) = a99b5d4b43c456ef9a73515f19d7a0a00903829f32f12f1294282f79675bcf8a -SIZE (ranlib.c.tar.gz) = 38033 +MD5 (RANDLIB_V90.tar.gz) = 9f49672fe5bfa8eb7b53bd59e7121892 +SHA256 (RANDLIB_V90.tar.gz) = c90251cc129ed21616d80df7bc87acefcce57d1a9e7fe7a2dd23e6d119bed466 +SIZE (RANDLIB_V90.tar.gz) = 322516 diff -ur /usr/ports/math/libranlib/files/Makefile.lib ./files/Makefile.lib --- /usr/ports/math/libranlib/files/Makefile.lib 2003-08-04 20:16:26.000000000 +0900 +++ ./files/Makefile.lib 2010-04-08 18:41:35.000000000 +0900 @@ -4,14 +4,12 @@ SHLIB_MAJOR= 1 SHLIB_MINOR= 0 -LIB= ranlib +LIB= randlib -.PATH: ${.CURDIR}/../linpack - -SRCS= linpack.c com.c ranlib.c +SRCS= linpack.c com.c randlib.c beforeinstall: - ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/ranlib.h \ + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/randlib.h \ ${PREFIX}/include .include <bsd.lib.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004081042.o38AgHnV063261>