Force GTL to use SGI STL as the egcs-1.1.2 copy of the STL is not

sufficient.
This commit is contained in:
jlam 2000-07-14 06:51:16 +00:00
parent df8c3546fd
commit dbadce17fa
4 changed files with 40 additions and 2 deletions

View file

@ -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

View file

@ -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

View file

@ -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
//--------------------------------------------------------------------------

7
devel/gtl/pkg/MESSAGE Normal file
View file

@ -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.
==========================================================================