diff options
author | krion <krion@FreeBSD.org> | 2003-08-31 01:02:06 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-08-31 01:02:06 +0800 |
commit | d4bc94c7bc13c75357c73bbe0a9642b51667bd2d (patch) | |
tree | 0877028c166a48a2cf07fa37cc1dd63d49db9f37 /devel | |
parent | 59e1d73dab5595f66dd489ab1810877a23cba4cf (diff) | |
download | freebsd-ports-gnome-d4bc94c7bc13c75357c73bbe0a9642b51667bd2d.tar.gz freebsd-ports-gnome-d4bc94c7bc13c75357c73bbe0a9642b51667bd2d.tar.zst freebsd-ports-gnome-d4bc94c7bc13c75357c73bbe0a9642b51667bd2d.zip |
- Fix build
PR: 56192
Submitted by: Ports Fury
Diffstat (limited to 'devel')
-rw-r--r-- | devel/e4graph/Makefile | 10 | ||||
-rw-r--r-- | devel/e4graph/pkg-plist | 4 |
2 files changed, 9 insertions, 5 deletions
diff --git a/devel/e4graph/Makefile b/devel/e4graph/Makefile index b249c8ee9f35..9b988a413d47 100644 --- a/devel/e4graph/Makefile +++ b/devel/e4graph/Makefile @@ -18,7 +18,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A C++ library that persistently stores graph like data BUILD_DEPENDS= ${LOCALBASE}/lib/libmk4.so:${PORTSDIR}/databases/metakit -LIB_DEPENDS= tcl84.1:${PORTSDIR}/lang/tcl84 \ +LIB_DEPENDS= tcl${TCLVND}:${PORTSDIR}/lang/tcl${TCLVND} \ expat.4:${PORTSDIR}/textproc/expat2 RUN_DEPENDS= ${BUILD_DEPENDS} @@ -28,11 +28,15 @@ USE_REINPLACE= yes USE_GMAKE= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --with-metakit=${LOCALBASE} \ - --with-tcl=${LOCALBASE}/lib/tcl8.4 --enable-tcl \ + --with-tcl=${LOCALBASE}/lib/tcl${TCL_VER} --enable-tcl \ --with-expat=${LOCALBASE} --enable-xml -CFLAGS+= -fpermissive -I${LOCALBASE}/include/tcl8.4 +CFLAGS+= -fpermissive -I${LOCALBASE}/include/tcl${TCL_VER} MAKEFILE= makefile INSTALLS_SHLIB= yes +PLIST_SUB= TCL_VER="${TCL_VER}" + +TCL_VER?= 8.4 +TCLVND= ${TCL_VER:S/.//} post-patch: @${REINPLACE_CMD} -e 's|=-O$$|="$${CFLAGS}"|g' ${WRKSRC}/configure diff --git a/devel/e4graph/pkg-plist b/devel/e4graph/pkg-plist index c0d7b4a31258..ae38bf37d7bf 100644 --- a/devel/e4graph/pkg-plist +++ b/devel/e4graph/pkg-plist @@ -16,5 +16,5 @@ lib/libtgraph.so.0.0.0 lib/libtxml.so lib/libtxml.so.0 lib/libtxml.so.0.0.0 -lib/tcl8.3/tgraph1.0/pkgIndex.tcl -@dirrm lib/tcl8.3/tgraph1.0 +lib/tcl%%TCL_VER%%/tgraph1.0/pkgIndex.tcl +@dirrm lib/tcl%%TCL_VER%%/tgraph1.0 |