diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2019-04-06 19:24:33 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2019-04-06 19:24:33 +0000 |
commit | 88a7cda9bd41c3fe6d5b7463cc8f6f2167c635a1 (patch) | |
tree | 9422e139223da365de3dd2c1221521fa343f449a | |
parent | a567ac26311f354dca026828f37fa576bd31cbee (diff) | |
download | ports-88a7cda9bd41c3fe6d5b7463cc8f6f2167c635a1.tar.gz ports-88a7cda9bd41c3fe6d5b7463cc8f6f2167c635a1.zip |
Notes
-rw-r--r-- | graphics/comical/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/graphics/comical/Makefile b/graphics/comical/Makefile index 7d0496a62827..1cdf989054f6 100644 --- a/graphics/comical/Makefile +++ b/graphics/comical/Makefile @@ -16,9 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libminizip.so:archivers/minizip \ libunrar.so.5:archivers/libunrar5 -BROKEN_powerpc64= fails to compile: cc1plus: unrecognized command line option "-Wno-unused-local-typedef" - -USES= gmake +USES= compiler:c++11-lang gmake USE_WX= 2.8+ MAKE_ENV= WX_CONFIG=${WX_CONFIG} @@ -37,12 +35,19 @@ PLIST_FILES= bin/comical \ share/pixmaps/comical.png \ share/pixmaps/comical.xpm +.include <bsd.port.pre.mk> + # 'make makepatch' doesn't like dirs with spaces pre-patch: @${MV} ${WRKSRC}/Comical\ Icons ${WRKSRC}/ComicalIcons +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +pre-configure: + ${REINPLACE_CMD} -e 's|-Wno-unused-local-typedef||' ${WRKSRC}/src/Makefile +.endif + post-install: cd ${WRKSRC}/ComicalIcons && \ ${INSTALL_DATA} ${ICONS} ${STAGEDIR}${PREFIX}/share/pixmaps -.include <bsd.port.mk> +.include <bsd.port.post.mk> |