freebsd-ports/x11-toolkits/p5-Wx/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

43 lines
973 B
Makefile

# Created by: Cezary Morga <cm@therek.net>
# $FreeBSD$
PORTNAME= Wx
PORTVERSION= 0.9932
PORTREVISION= 3
CATEGORIES= x11-toolkits perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 interface to the wxWidgets cross-platform GUI toolkit
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-ExtUtils-XSpp>=0.16.03:devel/p5-ExtUtils-XSpp \
p5-Alien-wxWidgets>=0.25:x11-toolkits/p5-Alien-wxWidgets
USES= compiler:c++11-lib perl5
USE_CXXSTD= c++11
USE_PERL5= configure
USE_WX= 3.0
CONFIGURE_ENV= CXX="${CXX}"
CFLAGS+= -pthread -Wno-write-strings
post-configure:
@${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} \
${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>