diff options
author | Lorenzo Salvadore <salvadore@FreeBSD.org> | 2025-03-12 09:36:24 +0000 |
---|---|---|
committer | Lorenzo Salvadore <salvadore@FreeBSD.org> | 2025-03-12 14:30:52 +0000 |
commit | 5d9d9b114e0e5df1ca806d9f00c1d86e7e7819e2 (patch) | |
tree | c99ffcb1f6b982481537ea3c56980354b1a0ebb8 | |
parent | f1c61d6af201a3d60445b0619e1bf97390ac78cd (diff) |
lang/gcc13: Fix libisl.so linking
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>
-rw-r--r-- | lang/gcc13/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lang/gcc13/Makefile b/lang/gcc13/Makefile index a213be8912d7..039e857a26c3 100644 --- a/lang/gcc13/Makefile +++ b/lang/gcc13/Makefile @@ -1,6 +1,6 @@ PORTNAME= gcc PORTVERSION= 13.3.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> .if ${ARCH} == amd64 @@ -132,11 +135,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:: |