aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-07-24 06:54:13 +0800
committerperky <perky@FreeBSD.org>2002-07-24 06:54:13 +0800
commit5a19359ae5ec48206b4f8736dd5c360dc3cd933c (patch)
treedd4421448a85ee5c14a3eff85de8dcc5261eb5eb
parentc05a8fcbb571a2623668e769c27ed3d800495426 (diff)
downloadfreebsd-ports-gnome-5a19359ae5ec48206b4f8736dd5c360dc3cd933c.tar.gz
freebsd-ports-gnome-5a19359ae5ec48206b4f8736dd5c360dc3cd933c.tar.zst
freebsd-ports-gnome-5a19359ae5ec48206b4f8736dd5c360dc3cd933c.zip
Create librhtv.so.1 symbolic link to let ldconfig pick up the library name.
Submitted by: kbyanc
-rw-r--r--devel/rhtvision/Makefile8
-rw-r--r--devel/rhtvision/pkg-plist1
2 files changed, 6 insertions, 3 deletions
diff --git a/devel/rhtvision/Makefile b/devel/rhtvision/Makefile
index 698c2ae9bcc4..e6efa2434a40 100644
--- a/devel/rhtvision/Makefile
+++ b/devel/rhtvision/Makefile
@@ -7,7 +7,7 @@
PORTNAME= rhtvision
PORTVERSION= 1.1.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tvision
@@ -15,9 +15,8 @@ DISTNAME= rhtvision-${PORTVERSION}.src
MAINTAINER= perky@FreeBSD.org
-BUILD_DEPENDS= ${PERL5}:${PORTSDIR}/lang/perl5
-
WRKSRC= ${WRKDIR}/tvision
+USE_PERL5= yes
USE_GMAKE= yes
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
@@ -32,4 +31,7 @@ post-patch:
@${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL5},g' ${WRKSRC}/${f}
.endfor
+post-install:
+ @cd ${PREFIX}/lib && ${LN} -sf librhtv.so.1.1.4 librhtv.so.1
+
.include <bsd.port.mk>
diff --git a/devel/rhtvision/pkg-plist b/devel/rhtvision/pkg-plist
index 26e21b8b0b66..eea4b55cafb5 100644
--- a/devel/rhtvision/pkg-plist
+++ b/devel/rhtvision/pkg-plist
@@ -136,5 +136,6 @@ include/rhtvision/cl/utsname.h
@dirrm include/rhtvision
lib/librhtv.a
lib/librhtv.so
+lib/librhtv.so.1
lib/librhtv.so.1.1.4
lib/libtvfintl.a