mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
lang/gcc12: Fix linking with libisl.so
Fix linking with libisl.so depending on GRAPHITE option, which is now implemented through options helpers. Co-authored-by: Gerald Pfeifer <gerald@FreeBSD.org> PR: 276070 Reported by:Ivan Rozhuk <rozhuk.im@gmail.com>
This commit is contained in:
parent
9ddbf1f6fc
commit
1846a7fe9b
1 changed files with 4 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= gcc
|
||||
PORTVERSION= 12.4.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= GCC
|
||||
PKGNAMESUFFIX= ${SUFFIX}
|
||||
|
@ -65,6 +65,9 @@ CFLAGS:= ${CFLAGS:S/mcpu=g/mcpu=G/}
|
|||
CXXFLAGS:= ${CFLAGS:S/mcpu=g/mcpu=G/}
|
||||
.endif
|
||||
|
||||
GRAPHITE_LIB_DEPENDS= libisl.so:devel/isl
|
||||
GRAPHITE_CONFIGURE_WITH+= isl
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Extraction fails with poudriere on aarch64 for GCC 12.
|
||||
|
@ -141,11 +144,6 @@ INFO+= gcc${SUFFIX}/libquadmath \
|
|||
SUB_FILES= pkg-message
|
||||
SUB_LIST+= TARGLIB=${TARGLIB}
|
||||
|
||||
.if ${PORT_OPTIONS:MGRAPHITE}
|
||||
LIB_DEPENDS+= libisl.so:devel/isl
|
||||
CONFIGURE_ARGS+=--with-isl=${LOCALBASE}
|
||||
.endif
|
||||
|
||||
CONFIGURE_ARGS+=--enable-languages=${LANGUAGES}
|
||||
|
||||
pre-everything::
|
||||
|
|
Loading…
Add table
Reference in a new issue