svn commit: r360049 - in head/x11-toolkits/gtkmathview: . files
Tijl Coosemans
tijl at FreeBSD.org
Tue Jul 1 16:03:26 UTC 2014
Author: tijl
Date: Tue Jul 1 16:03:25 2014
New Revision: 360049
URL: http://svnweb.freebsd.org/changeset/ports/360049
QAT: https://qat.redports.org/buildarchive/r360049/
Log:
- Convert to USES=libtool
- Replace -lstdc++ patches with post-patch command and apply it to more
makefiles
Deleted:
head/x11-toolkits/gtkmathview/files/patch-src_Makefile.in
head/x11-toolkits/gtkmathview/files/patch-src_view_Makefile.in
Modified:
head/x11-toolkits/gtkmathview/Makefile
head/x11-toolkits/gtkmathview/pkg-plist
Modified: head/x11-toolkits/gtkmathview/Makefile
==============================================================================
--- head/x11-toolkits/gtkmathview/Makefile Tue Jul 1 16:01:09 2014 (r360048)
+++ head/x11-toolkits/gtkmathview/Makefile Tue Jul 1 16:03:25 2014 (r360049)
@@ -3,7 +3,7 @@
PORTNAME= gtkmathview
PORTVERSION= 0.8.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= x11-toolkits
MASTER_SITES= http://helm.cs.unibo.it/mml-widget/sources/
@@ -15,12 +15,22 @@ LIB_DEPENDS= libpopt.so:${PORTSDIR}/deve
libt1.so:${PORTSDIR}/devel/t1lib \
libgmetadom_gdome_cpp_smart.so:${PORTSDIR}/textproc/gmetadom
-USES= gmake pathfix pkgconfig
+GNU_CONFIGURE= yes
+USES= gmake libtool pathfix pkgconfig
USE_GNOME= gtk20 libxml2 pangox-compat
-USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+post-patch:
+ @${REINPLACE_CMD} '/-lstdc++/d' ${WRKSRC}/src/Makefile.in \
+ ${WRKSRC}/src/view/Makefile.in ${WRKSRC}/viewer/Makefile.in
+ @${REINPLACE_CMD} '/^mathmlps_LDADD =/s|=|= ../src/libmathview.la|' \
+ ${WRKSRC}/mathmlps/Makefile.in
+ @${REINPLACE_CMD} '/^mathmlsvg_LDADD =/s|=|= $$(XML_LIBS) ../src/libmathview.la|' \
+ ${WRKSRC}/mathmlsvg/Makefile.in
+ @${REINPLACE_CMD} '/^test_rendering_LDADD =/s|=|= ../src/libmathview.la|' \
+ ${WRKSRC}/viewer/Makefile.in
+
.include <bsd.port.mk>
Modified: head/x11-toolkits/gtkmathview/pkg-plist
==============================================================================
--- head/x11-toolkits/gtkmathview/pkg-plist Tue Jul 1 16:01:09 2014 (r360048)
+++ head/x11-toolkits/gtkmathview/pkg-plist Tue Jul 1 16:03:25 2014 (r360049)
@@ -129,53 +129,53 @@ include/gtkmathview/gtk/gtkmathview_gmet
include/gtkmathview/gtk/gtkmathview_libxml2.h
include/gtkmathview/gtk/gtkmathview_libxml2_reader.h
lib/libgtkmathview_custom_reader.a
-lib/libgtkmathview_custom_reader.la
lib/libgtkmathview_custom_reader.so
-lib/libgtkmathview_custom_reader.so.8
+lib/libgtkmathview_custom_reader.so.0
+lib/libgtkmathview_custom_reader.so.0.8.0
lib/libgtkmathview_gmetadom.a
-lib/libgtkmathview_gmetadom.la
lib/libgtkmathview_gmetadom.so
-lib/libgtkmathview_gmetadom.so.8
+lib/libgtkmathview_gmetadom.so.0
+lib/libgtkmathview_gmetadom.so.0.8.0
lib/libgtkmathview_libxml2.a
-lib/libgtkmathview_libxml2.la
lib/libgtkmathview_libxml2.so
-lib/libgtkmathview_libxml2.so.8
+lib/libgtkmathview_libxml2.so.0
+lib/libgtkmathview_libxml2.so.0.8.0
lib/libgtkmathview_libxml2_reader.a
-lib/libgtkmathview_libxml2_reader.la
lib/libgtkmathview_libxml2_reader.so
-lib/libgtkmathview_libxml2_reader.so.8
+lib/libgtkmathview_libxml2_reader.so.0
+lib/libgtkmathview_libxml2_reader.so.0.8.0
lib/libmathview.a
-lib/libmathview.la
lib/libmathview.so
-lib/libmathview.so.8
+lib/libmathview.so.0
+lib/libmathview.so.0.8.0
lib/libmathview_backend_gtk.a
-lib/libmathview_backend_gtk.la
lib/libmathview_backend_gtk.so
-lib/libmathview_backend_gtk.so.8
+lib/libmathview_backend_gtk.so.0
+lib/libmathview_backend_gtk.so.0.8.0
lib/libmathview_backend_ps.a
-lib/libmathview_backend_ps.la
lib/libmathview_backend_ps.so
-lib/libmathview_backend_ps.so.8
+lib/libmathview_backend_ps.so.0
+lib/libmathview_backend_ps.so.0.8.0
lib/libmathview_backend_svg.a
-lib/libmathview_backend_svg.la
lib/libmathview_backend_svg.so
-lib/libmathview_backend_svg.so.8
+lib/libmathview_backend_svg.so.0
+lib/libmathview_backend_svg.so.0.8.0
lib/libmathview_frontend_custom_reader.a
-lib/libmathview_frontend_custom_reader.la
lib/libmathview_frontend_custom_reader.so
-lib/libmathview_frontend_custom_reader.so.8
+lib/libmathview_frontend_custom_reader.so.0
+lib/libmathview_frontend_custom_reader.so.0.8.0
lib/libmathview_frontend_gmetadom.a
-lib/libmathview_frontend_gmetadom.la
lib/libmathview_frontend_gmetadom.so
-lib/libmathview_frontend_gmetadom.so.8
+lib/libmathview_frontend_gmetadom.so.0
+lib/libmathview_frontend_gmetadom.so.0.8.0
lib/libmathview_frontend_libxml2.a
-lib/libmathview_frontend_libxml2.la
lib/libmathview_frontend_libxml2.so
-lib/libmathview_frontend_libxml2.so.8
+lib/libmathview_frontend_libxml2.so.0
+lib/libmathview_frontend_libxml2.so.0.8.0
lib/libmathview_frontend_libxml2_reader.a
-lib/libmathview_frontend_libxml2_reader.la
lib/libmathview_frontend_libxml2_reader.so
-lib/libmathview_frontend_libxml2_reader.so.8
+lib/libmathview_frontend_libxml2_reader.so.0
+lib/libmathview_frontend_libxml2_reader.so.0.8.0
libdata/pkgconfig/gtkmathview-custom-reader.pc
libdata/pkgconfig/gtkmathview-gmetadom.pc
libdata/pkgconfig/gtkmathview-libxml2-reader.pc
More information about the svn-ports-all
mailing list