diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-30 17:02:06 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-30 17:02:06 +0000 |
commit | 7fe4ba19b8a4338ec4b35c9c89b9ad77f7d4b077 (patch) | |
tree | 12c696b9c2777176607c1552ecc19f6311134e8e /devel/e4graph | |
parent | 3636baffa4543e26663d8b98fb5760639d9f8aaf (diff) | |
download | ports-7fe4ba19b8a4338ec4b35c9c89b9ad77f7d4b077.tar.gz ports-7fe4ba19b8a4338ec4b35c9c89b9ad77f7d4b077.zip |
Notes
Diffstat (limited to 'devel/e4graph')
-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 |