mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
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)
This commit is contained in:
parent
67367b82df
commit
22d32b6c73
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512530
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user