ports/56192: Update port: devel/e4graph
KATO Tsuguru
tkato at prontomail.com
Sat Aug 30 15:10:27 UTC 2003
>Number: 56192
>Category: ports
>Synopsis: Update port: devel/e4graph
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 30 08:10:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix build
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/devel/e4graph/Makefile devel/e4graph/Makefile
--- /usr/ports/devel/e4graph/Makefile Sun Aug 17 16:34:33 2003
+++ devel/e4graph/Makefile Sat Aug 30 23:54:45 2003
@@ -18,7 +18,7 @@
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_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 -urN /usr/ports/devel/e4graph/pkg-plist devel/e4graph/pkg-plist
--- /usr/ports/devel/e4graph/pkg-plist Thu Aug 7 21:17:31 2003
+++ devel/e4graph/pkg-plist Sat Aug 30 03:42:39 2003
@@ -16,5 +16,5 @@
lib/libtxml.so
lib/libtxml.so.0
lib/libtxml.so.0.0.0
-lib/tcl8.3/tgraph1.0/pkgIndex.tcl
- at dirrm lib/tcl8.3/tgraph1.0
+lib/tcl%%TCL_VER%%/tgraph1.0/pkgIndex.tcl
+ at dirrm lib/tcl%%TCL_VER%%/tgraph1.0
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list