Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2014 13:25:32 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366757 - in head/devel/libstroke: . files
Message-ID:  <201408311325.s7VDPWaP038655@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Aug 31 13:25:31 2014
New Revision: 366757
URL: http://svnweb.freebsd.org/changeset/ports/366757
QAT: https://qat.redports.org/buildarchive/r366757/

Log:
  - Convert to USES=libtool and add INSTALL_TARGET=install-strip
  - Run libtoolize and other autotools because the port ships with libtool
    1.2e which only supports FreeBSD versions up to 3.x

Added:
  head/devel/libstroke/files/
  head/devel/libstroke/files/patch-configure.in   (contents, props changed)
Modified:
  head/devel/libstroke/Makefile
  head/devel/libstroke/pkg-plist

Modified: head/devel/libstroke/Makefile
==============================================================================
--- head/devel/libstroke/Makefile	Sun Aug 31 13:22:36 2014	(r366756)
+++ head/devel/libstroke/Makefile	Sun Aug 31 13:25:31 2014	(r366757)
@@ -3,24 +3,23 @@
 
 PORTNAME=	libstroke
 PORTVERSION=	0.5.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	devel
 MASTER_SITES=	http://etla.net/libstroke/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Stroke translation library
 
-USES=		gmake
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+USES=		gmake libtool
+USE_AUTOTOOLS=	libtoolize aclocal autoconf autoheader automake
+AUTOMAKE_ARGS=	-a -c -f
 USE_CSTD=	gnu89
 USE_XORG=	x11
-USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
 
-CONFIGURE_ARGS=	--disable-gtktest
-
 post-patch:
-	@${REINPLACE_CMD} -e \
-		's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
-			${WRKSRC}/configure
+	@${REINPLACE_CMD} '/^[[:space:]]*#/d' ${WRKSRC}/libstroke/Makefile.am
 
 .include <bsd.port.mk>

Added: head/devel/libstroke/files/patch-configure.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libstroke/files/patch-configure.in	Sun Aug 31 13:25:31 2014	(r366757)
@@ -0,0 +1,21 @@
+--- configure.in.orig
++++ configure.in
+@@ -81,16 +81,8 @@
+ [  --with-mouse-footprints  Draw mouse footprints in X],
+ [AC_DEFINE(STROKE_MOUSE_FOOTPRINTS)])
+ 
+-dnl check for GTK
+-dnl we won't build libgstroke if it's not found
+-AC_MSG_CHECKING(gtk+ library)
+-AM_PATH_GTK(1.2.7, HAVE_LIBGTK=yes
+-  AC_DEFINE(HAVE_LIBGTK, 1, [Define if libgtk is available]),
+-  AC_MSG_WARN(
+-***** NOTE: The GNOME stroke support won't be built
+-)
+-  HAVE_LIBGTK=no,
+-)
++AC_SUBST(GTK_CFLAGS)
++AC_SUBST(GTK_LIBS)
+ AM_CONDITIONAL(HAVE_LIBGTK,        test "x$HAVE_LIBGTK" = "xyes")
+ 
+ 

Modified: head/devel/libstroke/pkg-plist
==============================================================================
--- head/devel/libstroke/pkg-plist	Sun Aug 31 13:22:36 2014	(r366756)
+++ head/devel/libstroke/pkg-plist	Sun Aug 31 13:25:31 2014	(r366757)
@@ -1,7 +1,7 @@
 include/stroke.h
 lib/libstroke.a
-lib/libstroke.la
 lib/libstroke.so
 lib/libstroke.so.0
+lib/libstroke.so.0.0.5
 share/aclocal/libgstroke.m4
 share/aclocal/libstroke.m4



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408311325.s7VDPWaP038655>