aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-24 14:56:04 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-24 14:56:04 +0000
commit5260bfe6a1f7153dd629ffc748a9c97a4856bf8b (patch)
tree7a24760179e6fc65f947d34fd2092e0c3f3fb774 /x11-toolkits
parent2004f98e48a47327804d7a5afc08bbbad0dca86a (diff)
downloadports-5260bfe6a1f7153dd629ffc748a9c97a4856bf8b.tar.gz
ports-5260bfe6a1f7153dd629ffc748a9c97a4856bf8b.zip
Notes
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>