Lines 18-24
Link Here
|
18 |
COMMENT= A C++ library that persistently stores graph like data |
18 |
COMMENT= A C++ library that persistently stores graph like data |
19 |
|
19 |
|
20 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libmk4.so:${PORTSDIR}/databases/metakit |
20 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libmk4.so:${PORTSDIR}/databases/metakit |
21 |
LIB_DEPENDS= tcl84.1:${PORTSDIR}/lang/tcl84 \ |
21 |
LIB_DEPENDS= tcl${TCLVND}:${PORTSDIR}/lang/tcl${TCLVND} \ |
22 |
expat.4:${PORTSDIR}/textproc/expat2 |
22 |
expat.4:${PORTSDIR}/textproc/expat2 |
23 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
23 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
24 |
|
24 |
|
Lines 28-38
Link Here
|
28 |
USE_GMAKE= yes |
28 |
USE_GMAKE= yes |
29 |
USE_LIBTOOL= yes |
29 |
USE_LIBTOOL= yes |
30 |
CONFIGURE_ARGS= --with-metakit=${LOCALBASE} \ |
30 |
CONFIGURE_ARGS= --with-metakit=${LOCALBASE} \ |
31 |
--with-tcl=${LOCALBASE}/lib/tcl8.4 --enable-tcl \ |
31 |
--with-tcl=${LOCALBASE}/lib/tcl${TCL_VER} --enable-tcl \ |
32 |
--with-expat=${LOCALBASE} --enable-xml |
32 |
--with-expat=${LOCALBASE} --enable-xml |
33 |
CFLAGS+= -fpermissive -I${LOCALBASE}/include/tcl8.4 |
33 |
CFLAGS+= -fpermissive -I${LOCALBASE}/include/tcl${TCL_VER} |
34 |
MAKEFILE= makefile |
34 |
MAKEFILE= makefile |
35 |
INSTALLS_SHLIB= yes |
35 |
INSTALLS_SHLIB= yes |
|
|
36 |
PLIST_SUB= TCL_VER="${TCL_VER}" |
37 |
|
38 |
TCL_VER?= 8.4 |
39 |
TCLVND= ${TCL_VER:S/.//} |
36 |
|
40 |
|
37 |
post-patch: |
41 |
post-patch: |
38 |
@${REINPLACE_CMD} -e 's|=-O$$|="$${CFLAGS}"|g' ${WRKSRC}/configure |
42 |
@${REINPLACE_CMD} -e 's|=-O$$|="$${CFLAGS}"|g' ${WRKSRC}/configure |