diff options
author | kim <kim@pkgsrc.org> | 2000-07-16 18:17:30 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2000-07-16 18:17:30 +0000 |
commit | 7ebba3d6b7fa05f8f9024020bfcb1f28414d46e9 (patch) | |
tree | bb5e9c0531946a25815b89190c4e930daa3f0bec /net/gnut/Makefile | |
parent | 99f60b5a42291216cde87bc4cb94233fd787ae57 (diff) | |
download | pkgsrc-7ebba3d6b7fa05f8f9024020bfcb1f28414d46e9.tar.gz |
Upgrade to gnut-0.3.29.
- use readline from libedit
- compile properly even when pth is installed (really should fix pgcc)
- tried with pth: does not work
- the version upgrade has bug fixes, but nothing that looked critical
- documentation in HTML included
Diffstat (limited to 'net/gnut/Makefile')
-rw-r--r-- | net/gnut/Makefile | 41 |
1 files changed, 32 insertions, 9 deletions
diff --git a/net/gnut/Makefile b/net/gnut/Makefile index 31ae046ca28..e4f236bdaee 100644 --- a/net/gnut/Makefile +++ b/net/gnut/Makefile @@ -1,29 +1,52 @@ -# $NetBSD: Makefile,v 1.2 2000/04/18 07:05:14 deberg Exp $ +# $NetBSD: Makefile,v 1.3 2000/07/16 18:17:30 kim Exp $ # -DISTNAME= gnut-0.3.22 +DISTNAME= gnut-0.3.29 CATEGORIES= net MASTER_SITES= http://www.umr.edu/~jjp/ MAINTAINER= deberg@netbsd.org HOMEPAGE= http://www.umr.edu/~jjp/ -# Sync these with devel/unproven-pthreads: -ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-arm32 NetBSD-*-m68k +BUILD_DEPENDS+= autoreconf:../../devel/autoconf +#DEPENDS+= pth>=1.3.6:../../devel/pth +# Sync these with devel/unproven-pthreads: +ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-arm32 NetBSD-*-m68k DEPENDS+= unproven-pthreads-0.*:../../devel/unproven-pthreads +CONFIGURE_ENV+= CC=${LOCALBASE}/pthreads/bin/pgcc \ + CXX=${LOCALBASE}/pthreads/bin/pg++ GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-mit-pthreads -CONFIGURE_ENV+= CC=${LOCALBASE}/pthreads/bin/pgcc \ - CXX=${LOCALBASE}/pthreads/bin/pg++ +GNUTDOCDIR= ${PREFIX}/share/doc/gnut + +# Find <pthread.h> +#.if make(do-configure) +#CFLAGS+= -I${LOCALBASE}/include +#.endif + +.if make(do-configure) +LDFLAGS= -Wl,-R${LOCALBASE}/pthreads/lib -L${LOCALBASE}/pthreads/lib +.endif + +post-patch: + cd ${WRKSRC} && autoreconf -GNUTDOCDIR= ${PREFIX}/share/doc/gnut +GNUTDOCS= TUTORIAL \ + gnut-1.html \ + gnut-2.html \ + gnut-3.html \ + gnut-4.html \ + gnut-5.html \ + gnut-6.html \ + gnut.html post-install: ${MKDIR} ${GNUTDOCDIR} - ${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${GNUTDOCDIR} + for i in ${GNUTDOCS}; do \ + ${INSTALL_DATA} ${WRKSRC}/doc/$$i ${GNUTDOCDIR}; \ + done ${INSTALL_DATA} ${WRKSRC}/gnutrc.sample ${GNUTDOCDIR} .include "../../mk/bsd.pkg.mk" |