diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2019-09-21 18:18:33 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2019-09-21 18:18:33 +0000 |
commit | 22d32b6c73c040e43af60ab5c05912e333704cea (patch) | |
tree | fc3bf3b670e58ef1f7246c14847a7b85f659e435 /audio/grip | |
parent | 67367b82dfcc9359c093268fc60f9b7318ece4e4 (diff) | |
download | ports-22d32b6c73c040e43af60ab5c05912e333704cea.tar.gz ports-22d32b6c73c040e43af60ab5c05912e333704cea.zip |
Fix build on GCC-based systems:
/usr/local/lib/libgraphite2.so.3: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
Approved by: portmgr (tier-2 blanket)
Notes
Notes:
svn path=/head/; revision=512530
Diffstat (limited to 'audio/grip')
-rw-r--r-- | audio/grip/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/audio/grip/Makefile b/audio/grip/Makefile index 641ac6659806..f551ab18667c 100644 --- a/audio/grip/Makefile +++ b/audio/grip/Makefile @@ -18,7 +18,8 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libid3.so:audio/id3lib \ libpopt.so:devel/popt -USES= gmake libtool localbase pathfix pkgconfig +USES= compiler:c++11-lang gmake gnome libtool localbase \ + pathfix pkgconfig xorg USE_XORG= ice sm x11 xext USE_GNOME= cairo gdkpixbuf2 gnomeprefix libgnomeui vte @@ -50,6 +51,8 @@ DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE} DEFAULT_CDROM_DEVICE=/dev/cd0 .endif +.include <bsd.port.pre.mk> + pre-everything:: .if !defined(WITH_CDROM_DEVICE) @${ECHO_MSG} "===> The default CDROM device is ${DEFAULT_CDROM_DEVICE}" @@ -60,5 +63,8 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \ ${WRKSRC}/src/grip.c +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 + ${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/src/cdpar.c +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |