diff options
author | jlam <jlam@pkgsrc.org> | 2000-07-14 06:51:16 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-07-14 06:51:16 +0000 |
commit | dbadce17fa6ea1a684a33a3ccae9c64b72131ba4 (patch) | |
tree | 18cbcea76a91b9d80e86afb1a8522b4b5352448d /devel/gtl | |
parent | df8c3546fdfd2d11788de3c08c2219b56b4da536 (diff) | |
download | pkgsrc-dbadce17fa6ea1a684a33a3ccae9c64b72131ba4.tar.gz |
Force GTL to use SGI STL as the egcs-1.1.2 copy of the STL is not
sufficient.
Diffstat (limited to 'devel/gtl')
-rw-r--r-- | devel/gtl/Makefile | 12 | ||||
-rw-r--r-- | devel/gtl/files/patch-sum | 3 | ||||
-rw-r--r-- | devel/gtl/patches/patch-ab | 20 | ||||
-rw-r--r-- | devel/gtl/pkg/MESSAGE | 7 |
4 files changed, 40 insertions, 2 deletions
diff --git a/devel/gtl/Makefile b/devel/gtl/Makefile index a39c11985c9..e61efde7646 100644 --- a/devel/gtl/Makefile +++ b/devel/gtl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2000/07/13 15:10:33 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2000/07/14 06:51:16 jlam Exp $ DISTNAME= GTL-0.3.3 PKGNAME= gtl-0.3.3 @@ -8,15 +8,25 @@ MASTER_SITES= http://infosun.fmi.uni-passau.de/GTL/archive/ MAINTAINER= jlam@netbsd.org HOMEPAGE= http://www.fmi.uni-passau.de/Graphlet/GTL/ +DEPENDS+= sgi-stl-*:../../devel/sgi-stl + GNU_CONFIGURE= # defined USE_LIBTOOL= # defined LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" +CPPFLAGS+= -I${LOCALBASE}/include/sgi-stl + GTL_VERS= 0:3 MAKE_ENV+= GTL_VERS="${GTL_VERS}" +MESSAGE_FILE= ${WRKDIR}/MESSAGE HTMLDOCDIR= ${PREFIX}/share/doc/html/GTL +post-build: + ${SED} -e "s,@LOCALBASE@,${LOCALBASE},g" \ + < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} + post-install: ${INSTALL_DATA_DIR} ${HTMLDOCDIR} ${INSTALL_DATA_DIR} ${HTMLDOCDIR}/icons diff --git a/devel/gtl/files/patch-sum b/devel/gtl/files/patch-sum index 79f158c5609..d1c5ca9f75f 100644 --- a/devel/gtl/files/patch-sum +++ b/devel/gtl/files/patch-sum @@ -1,3 +1,4 @@ -$NetBSD: patch-sum,v 1.2 2000/07/13 15:10:35 jlam Exp $ +$NetBSD: patch-sum,v 1.3 2000/07/14 06:51:17 jlam Exp $ MD5 (patch-aa) = b6148b3262c241c822309b01f4487652 +MD5 (patch-ab) = 5c99810271dec62ff29901de21823046 diff --git a/devel/gtl/patches/patch-ab b/devel/gtl/patches/patch-ab new file mode 100644 index 00000000000..be73e10fa2a --- /dev/null +++ b/devel/gtl/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1 2000/07/14 06:51:17 jlam Exp $ + +--- include/GTL/GTL.h.orig Thu Feb 3 07:50:16 2000 ++++ include/GTL/GTL.h Thu Jul 13 11:56:17 2000 +@@ -128,6 +128,7 @@ + // Bugfix for EGCS & GCC < 2.95 + //-------------------------------------------------------------------------- + ++#if 0 + #if defined(__GNUC__) && __GNUC__ == 2 && __GNUC_MINOR__ < 95 + + #include <map> +@@ -141,6 +142,7 @@ + { + }; + ++#endif + #endif + + //-------------------------------------------------------------------------- diff --git a/devel/gtl/pkg/MESSAGE b/devel/gtl/pkg/MESSAGE new file mode 100644 index 00000000000..4ddcdd73fb5 --- /dev/null +++ b/devel/gtl/pkg/MESSAGE @@ -0,0 +1,7 @@ +========================================================================== +$NetBSD: MESSAGE,v 1.1 2000/07/14 06:51:18 jlam Exp $ + +If your project uses GTL, then you will need to pass +"-I@LOCALBASE@/include/sgi-stl" to the compiler so that it may +find the SGI STL headers. +========================================================================== |