Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 16:13:53 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308773 - in head/x11-toolkits/fltk: . files
Message-ID:  <201212121613.qBCGDrtv092190@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Wed Dec 12 16:13:53 2012
New Revision: 308773
URL: http://svnweb.freebsd.org/changeset/ports/308773

Log:
  - Update to 1.3.2
    Release notes: http://www.fltk.org/articles.php?L1266
  - Added a patch to fix a build error
    Reported as: http://www.fltk.org/str.php?L2903

Added:
  head/x11-toolkits/fltk/files/patch-FL_Fl_Widget.H   (contents, props changed)
Modified:
  head/x11-toolkits/fltk/Makefile
  head/x11-toolkits/fltk/distinfo
  head/x11-toolkits/fltk/pkg-plist   (contents, props changed)

Modified: head/x11-toolkits/fltk/Makefile
==============================================================================
--- head/x11-toolkits/fltk/Makefile	Wed Dec 12 15:16:56 2012	(r308772)
+++ head/x11-toolkits/fltk/Makefile	Wed Dec 12 16:13:53 2012	(r308773)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	fltk
-PORTVERSION=	1.3.1
+PORTVERSION=	1.3.2
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	${MASTER_SITE_EASYSW}
 MASTER_SITE_SUBDIR=	fltk/${PORTVERSION}
@@ -16,28 +16,29 @@ LIB_DEPENDS=	png15:${PORTSDIR}/graphics/
 
 USE_LDCONFIG=	yes
 USE_XORG=	xft
-USE_GL=		gl glu
-USE_GCC=	any
+USE_GL=		glu
+USE_PKGCONFIG=	build
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--enable-threads \
 		--enable-shared \
 		--enable-xft
+
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${WRKSRC}/src -L${LOCALBASE}/lib
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
+PORTDOCS=	*
+
 MAN1=	fltk-config.1 fluid.1
 MAN3=	fltk.3
 
 post-patch:
-	${REINPLACE_CMD} -e '30s/test //' ${WRKSRC}/Makefile
 	prefix="${PREFIX}" ; plength=$$(($${#prefix}+10)) ; \
 	${REINPLACE_CMD} -e "\|/etc/fltk|{s||${PREFIX}&|;s|10|$${plength}|;}" \
 	${WRKSRC}/src/Fl_Preferences.cxx
 
 .if !defined(NOPORTDOCS)
-PORTDOCS=	*
 post-install:
 	cd ${WRKSRC}/documentation && ${MAKE} docinstall
 	cd ${WRKSRC}/test && ${MAKE} install

Modified: head/x11-toolkits/fltk/distinfo
==============================================================================
--- head/x11-toolkits/fltk/distinfo	Wed Dec 12 15:16:56 2012	(r308772)
+++ head/x11-toolkits/fltk/distinfo	Wed Dec 12 16:13:53 2012	(r308773)
@@ -1,2 +1,2 @@
-SHA256 (fltk-1.3.1-source.tar.gz) = 49006c148fad8c31a3a961c74486fb485c7878b9d0d084e597f30e354d7cf549
-SIZE (fltk-1.3.1-source.tar.gz) = 4257291
+SHA256 (fltk-1.3.2-source.tar.gz) = 176044df94f31bd53a5806cf5054ca78b180bf9ae27ce47649608833695ee4a4
+SIZE (fltk-1.3.2-source.tar.gz) = 4260874

Added: head/x11-toolkits/fltk/files/patch-FL_Fl_Widget.H
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/fltk/files/patch-FL_Fl_Widget.H	Wed Dec 12 16:13:53 2012	(r308773)
@@ -0,0 +1,10 @@
+--- FL/Fl_Widget.H.orig	2012-12-12 15:44:54.000000000 +0100
++++ FL/Fl_Widget.H	2012-12-12 15:52:48.000000000 +0100
+@@ -99,6 +99,7 @@
+  */
+ class FL_EXPORT Fl_Widget {
+   friend class Fl_Group;
++  friend class Fl_X;
+ 
+   Fl_Group* parent_;
+   Fl_Callback* callback_;

Modified: head/x11-toolkits/fltk/pkg-plist
==============================================================================
--- head/x11-toolkits/fltk/pkg-plist	Wed Dec 12 15:16:56 2012	(r308772)
+++ head/x11-toolkits/fltk/pkg-plist	Wed Dec 12 16:13:53 2012	(r308773)
@@ -159,5 +159,3 @@ lib/libfltk_images.so
 lib/libfltk_images.so.1
 lib/libfltk_images.so.1.3
 @dirrm include/FL
-@dirrmtry etc/fltk/fltk.org
-@dirrmtry etc/fltk



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