aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-09-01 16:54:29 +0800
committerkrion <krion@FreeBSD.org>2004-09-01 16:54:29 +0800
commitaebf3ad66d7bc54944a5b710b36b4367dd670353 (patch)
tree14f436c4568f08f884f1d1c4f4c4302bfb55aff3
parent2066dc48f00aa4c54252de648053b182819fc674 (diff)
downloadfreebsd-ports-gnome-aebf3ad66d7bc54944a5b710b36b4367dd670353.tar.gz
freebsd-ports-gnome-aebf3ad66d7bc54944a5b710b36b4367dd670353.tar.zst
freebsd-ports-gnome-aebf3ad66d7bc54944a5b710b36b4367dd670353.zip
Fix libvcdinfo.pc
o This will allow vcd support to work in multimedia/vlc (and possibly other ports) Use libtool PR: ports/71171 Submitted by: Michael Johnson <ahze@ahze.net>
-rw-r--r--multimedia/vcdimager/Makefile11
-rw-r--r--multimedia/vcdimager/pkg-plist1
2 files changed, 8 insertions, 4 deletions
diff --git a/multimedia/vcdimager/Makefile b/multimedia/vcdimager/Makefile
index 007684993142..e3281dd93db3 100644
--- a/multimedia/vcdimager/Makefile
+++ b/multimedia/vcdimager/Makefile
@@ -6,7 +6,7 @@
PORTNAME= vcdimager
PORTVERSION= 0.7.20
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://www.vcdimager.org/pub/vcdimager/vcdimager-0.7_UNSTABLE/ \
${MASTER_SITE_GNU_ALPHA}
@@ -19,9 +19,11 @@ LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
xml2:${PORTSDIR}/textproc/libxml2 \
cdio.1:${PORTSDIR}/sysutils/libcdio
-GNU_CONFIGURE= yes
+USE_LIBTOOL_VER=15
+INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
-USE_GNOME= gnometarget gnomehack pkgconfig
+USE_GNOME= gnometarget gnomehack pkgconfig lthack
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -29,4 +31,7 @@ MAN1= cdxa2mpeg.1 vcdimager.1 vcdxminfo.1 vcdxrip.1 vcdxgen.1 \
vcdxbuild.1 vcd-info.1
INFO= vcdimager vcdxrip vcd-info
+post-patch:
+ @${REINPLACE_CMD} -e 's|libvcd||' ${WRKSRC}/libvcdinfo.pc.in
+
.include <bsd.port.mk>
diff --git a/multimedia/vcdimager/pkg-plist b/multimedia/vcdimager/pkg-plist
index 11469f7ea7be..eaca3aa421b1 100644
--- a/multimedia/vcdimager/pkg-plist
+++ b/multimedia/vcdimager/pkg-plist
@@ -13,7 +13,6 @@ include/libvcd/logging.h
include/libvcd/sector.h
include/libvcd/types.h
include/libvcd/version.h
-lib/libvcdinfo.la
lib/libvcdinfo.so.0
lib/libvcdinfo.so
lib/libvcdinfo.a