aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-24 22:56:04 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-24 22:56:04 +0800
commit37e60a336f78fe033104ca3d98e90967949ec173 (patch)
tree7a24760179e6fc65f947d34fd2092e0c3f3fb774 /x11-toolkits
parent4c92de436a80df78ff4894b357a56066c92b3c02 (diff)
downloadfreebsd-ports-gnome-37e60a336f78fe033104ca3d98e90967949ec173.tar.gz
freebsd-ports-gnome-37e60a336f78fe033104ca3d98e90967949ec173.tar.zst
freebsd-ports-gnome-37e60a336f78fe033104ca3d98e90967949ec173.zip
- Remove useless WX_UNICODE
- Use BROKEN helper Approved by: portmgr blanket
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/p5-Wx/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/x11-toolkits/p5-Wx/Makefile b/x11-toolkits/p5-Wx/Makefile
index cbfb91e5f801..3d5026b196fa 100644
--- a/x11-toolkits/p5-Wx/Makefile
+++ b/x11-toolkits/p5-Wx/Makefile
@@ -14,6 +14,8 @@ COMMENT= Perl5 interface to the wxWidgets cross-platform GUI toolkit
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
RUN_DEPENDS:= ${BUILD_DEPENDS}
@@ -23,19 +25,12 @@ USE_PERL5= configure
USE_WX= 3.0
USE_CXXSTD= c++11
WX_COMPS= wx
-WX_UNICODE= 1
CC= ${CXX}
CFLAGS+= -pthread -Wno-write-strings
CONFIGURE_ENV= CXX=${CXX}
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-BROKEN= does not build
-.endif
-
post-configure:
@${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} \
${REINPLACE_CMD} -e 's|^CCFLAGS = .*$$|CCFLAGS = ${CXXFLAGS}|'
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>