Bug 83360 - Missing digit in .so means ldconfig misses lib
Summary: Missing digit in .so means ldconfig misses lib
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-13 00:20 UTC by Diane Bruce
Modified: 2005-07-13 09:39 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (180 bytes, patch)
2005-07-13 00:20 UTC, Diane Bruce
no flags Details | Diff
file.diff (351 bytes, patch)
2005-07-13 00:20 UTC, Diane Bruce
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diane Bruce 2005-07-13 00:20:14 UTC
	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.

Fix: And yes, I'll take ownership if it helps.

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
How-To-Repeat: 
make install /usr/ports/math/ccmath
Comment 1 Erwin Lansing freebsd_committer 2005-07-13 09:39:33 UTC
State Changed
From-To: open->closed

Committed, thanks!