Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2016 06:41:29 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406551 - head/x11-toolkits/p5-Wx
Message-ID:  <201601180641.u0I6fTlY047327@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon Jan 18 06:41:29 2016
New Revision: 406551
URL: https://svnweb.freebsd.org/changeset/ports/406551

Log:
  x11-toolkits/p5-Wx: 0.99.27 -> 0.99.28
  
  - also fix build error on 9.x
  
  PR:		200309
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/x11-toolkits/p5-Wx/Makefile
  head/x11-toolkits/p5-Wx/distinfo
  head/x11-toolkits/p5-Wx/pkg-descr

Modified: head/x11-toolkits/p5-Wx/Makefile
==============================================================================
--- head/x11-toolkits/p5-Wx/Makefile	Mon Jan 18 06:21:18 2016	(r406550)
+++ head/x11-toolkits/p5-Wx/Makefile	Mon Jan 18 06:41:29 2016	(r406551)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	Wx
-PORTVERSION=	0.99.27
+PORTVERSION=	0.99.28
 CATEGORIES=	x11-toolkits perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,23 +14,36 @@ COMMENT=	Perl5 interface to the wxWidget
 LICENSE=	ART10 GPLv1
 LICENSE_COMB=	dual
 
-BROKEN_FreeBSD_9=	does not build
-
-BUILD_DEPENDS=	p5-Alien-wxWidgets>=0.25:${PORTSDIR}/x11-toolkits/p5-Alien-wxWidgets \
-		p5-ExtUtils-XSpp>=0.16.03:${PORTSDIR}/devel/p5-ExtUtils-XSpp
+BUILD_DEPENDS=	p5-ExtUtils-XSpp>=0.16.03:${PORTSDIR}/devel/p5-ExtUtils-XSpp \
+		p5-Alien-wxWidgets>=0.25:${PORTSDIR}/x11-toolkits/p5-Alien-wxWidgets
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-USES=		perl5 compiler:c++11-lib
+USES=		compiler:c++11-lib perl5
+USE_CXXSTD=	c++11
 USE_PERL5=	configure
 USE_WX=		3.0
-USE_CXXSTD=	c++11
-WX_COMPS=	wx
-CC=		${CXX}
+CONFIGURE_ENV=	CXX="${CXX}"
+
 CFLAGS+=	-pthread -Wno-write-strings
-CONFIGURE_ENV=	CXX=${CXX}
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501508
+BUILD_DEPENDS+= p5-ExtUtils-ParseXS>=3.15:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
+RUN_DEPENDS+=   p5-ExtUtils-ParseXS>=3.15:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
+.endif
 
 post-configure:
 	@${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} \
-		${REINPLACE_CMD} -e 's|^CCFLAGS = .*$$|CCFLAGS = ${CXXFLAGS}|'
+		${REINPLACE_CMD} -e \
+		's|$$(CC)|$$(CXX)|g ; \
+		 s|$$(CCFLAGS)|$$(CXXFLAGS)|g'
+
+pre-build:
+	@(cd ${WRKSRC} && ${DO_MAKE_BUILD} generated)
+
+post-install:
+	@${FIND} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL} -name "*.so" -type f \
+		| ${XARGS} ${STRIP_CMD}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/x11-toolkits/p5-Wx/distinfo
==============================================================================
--- head/x11-toolkits/p5-Wx/distinfo	Mon Jan 18 06:21:18 2016	(r406550)
+++ head/x11-toolkits/p5-Wx/distinfo	Mon Jan 18 06:41:29 2016	(r406551)
@@ -1,2 +1,2 @@
-SHA256 (Wx-0.9927.tar.gz) = a174bd1b6a5558174697775be0ede2fb8260258d60bb6e116dfe6f56ac1d22bb
-SIZE (Wx-0.9927.tar.gz) = 486022
+SHA256 (Wx-0.9928.tar.gz) = 58e06c094c07817617b1e69fa0501f2cee80cd4700ac7a62c516179f7aa85b42
+SIZE (Wx-0.9928.tar.gz) = 501439

Modified: head/x11-toolkits/p5-Wx/pkg-descr
==============================================================================
--- head/x11-toolkits/p5-Wx/pkg-descr	Mon Jan 18 06:21:18 2016	(r406550)
+++ head/x11-toolkits/p5-Wx/pkg-descr	Mon Jan 18 06:41:29 2016	(r406551)
@@ -2,4 +2,4 @@ wxPerl is an extension module allowing t
 User Interface) from Perl; it is built as a wrapper for the wxWidgets
 C++ GUI toolkit.
 
-WWW: http://wxperl.eu/
+WWW: http://www.wxperl.it/



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