Date: Tue, 12 Jul 2005 19:17:43 -0400 (EDT) From: Diane Bruce <db@db.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: erwin@FreeBSD.org Subject: ports/83360: Missing digit in .so means ldconfig misses lib Message-ID: <200507122317.j6CNHhtk032097@night.db.net> Resent-Message-ID: <200507122320.j6CNKEmR004517@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83360 >Category: ports >Synopsis: Missing digit in .so means ldconfig misses lib >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: Tue Jul 12 23:20:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Diane Bruce >Release: FreeBSD 5.4-RELEASE-p3 i386 >Organization: You are kidding right? Me organised? >Environment: System: FreeBSD night.db.net 5.4-RELEASE-p3 FreeBSD 5.4-RELEASE-p3 #0: Tue Jul 5 10:31:25 EDT 2005 db@night.db.net:/usr/obj/usr/src/sys/NIGHT i386 >Description: This port installs libccm.so in /usr/local/lib. ldconfig will not pick this library up because it is missing a final digit. This among other things, breaks LIB_DEPENDS. >How-To-Repeat: make install /usr/ports/math/ccmath >Fix: And yes, I'll take ownership if it helps. diff -ur /usr/ports/math/ccmath/Makefile ccmath/Makefile --- /usr/ports/math/ccmath/Makefile Mon Apr 11 23:26:03 2005 +++ ccmath/Makefile Tue Jul 12 19:10:01 2005 @@ -7,11 +7,12 @@ PORTNAME= ccmath PORTVERSION= 2.2.1 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= libs -MAINTAINER= ports@FreeBSD.org +MAINTAINER= db@db.net COMMENT= A mathematics library with many different functions INSTALLS_SHLIB= yes @@ -28,6 +29,7 @@ ${INSTALL_DATA} ${WRKSRC}/ccmath.h ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/tmp/libccm.a ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/tmp/libccm.so ${PREFIX}/lib + ${LN} -s ${PREFIX}/lib/libccm.so ${PREFIX}/lib/libccm.so.1 .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/ccmath ${INSTALL_DATA} ${WRKSRC}/manual/* ${PREFIX}/share/doc/ccmath Only in ccmath: README.html diff -ur /usr/ports/math/ccmath/pkg-plist ccmath/pkg-plist --- /usr/ports/math/ccmath/pkg-plist Thu Dec 4 05:36:51 2003 +++ ccmath/pkg-plist Tue Jul 12 18:52:08 2005 @@ -1,6 +1,7 @@ include/ccmath.h lib/libccm.a lib/libccm.so +lib/libccm.so.1 %%PORTDOCS%%%%DOCSDIR%%/C00-intro %%PORTDOCS%%%%DOCSDIR%%/C01-matrix %%PORTDOCS%%%%DOCSDIR%%/C02-intg >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507122317.j6CNHhtk032097>