diff options
author | pav <pav@FreeBSD.org> | 2004-04-18 23:40:54 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-04-18 23:40:54 +0800 |
commit | a1cc7d6c25562370ff33c6ae6b24637f8f8a1e39 (patch) | |
tree | 23c90aba92561903a51caefeb09c82e88daff109 /devel/zthread/Makefile | |
parent | 3bb97e9e1022f7b9f84d87129b4a0614ae0f5818 (diff) | |
download | freebsd-ports-gnome-a1cc7d6c25562370ff33c6ae6b24637f8f8a1e39.tar.gz freebsd-ports-gnome-a1cc7d6c25562370ff33c6ae6b24637f8f8a1e39.tar.zst freebsd-ports-gnome-a1cc7d6c25562370ff33c6ae6b24637f8f8a1e39.zip |
- Update to 2.3.1 [1]
- Use gcc33 on 4.x because it provokes Internal compiler error with 2.95 [2]
PR: ports/65014 [1], ports/65688 [2]
Submitted by: ijliao [1], Stefan Grundmann <sg-sendpr@waset.de> [2]
Approved by: maintainer timeout (17 days)
Diffstat (limited to 'devel/zthread/Makefile')
-rw-r--r-- | devel/zthread/Makefile | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/devel/zthread/Makefile b/devel/zthread/Makefile index 184fe5bea926..a3bd0ec67b70 100644 --- a/devel/zthread/Makefile +++ b/devel/zthread/Makefile @@ -6,11 +6,9 @@ # PORTNAME= zthread -PORTVERSION= 1.5.1 -PORTREVISION= 1 +PORTVERSION= 2.3.1 CATEGORIES= devel -MASTER_SITES= http://www.cs.buffalo.edu/~crahen/projects/zthread/ \ - ${MASTER_SITE_SOURCEFORGE} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= ZThread-${PORTVERSION} @@ -18,11 +16,13 @@ MAINTAINER= wjv@FreeBSD.org COMMENT= A platform-independent object-oriented C++ threading library GNU_CONFIGURE= yes +CONFIGURE_ARGS= --without-ftime USE_GMAKE= yes -USE_LIBTOOL_VER= 13 INSTALLS_SHLIB= yes -EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif .include <bsd.port.pre.mk> @@ -30,14 +30,23 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} BROKEN= "Does not compile on ${ARCH}; mixes pointers and ints" .endif +.if ${OSVERSION} < 500000 +USE_GCC= 3.3 +.endif + +post-extract: + @${FIND} ${WRKSRC} -name CVS -type d -delete + post-install: + @${FIND} ${PREFIX}/include/zthread -type f | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${ECHO_CMD} "@dirrm include/zthread" >> ${TMPPLIST} .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/html ${EXAMPLESDIR} + @${MKDIR} ${DOCSDIR}/html .for docfile in AUTHORS ChangeLog NEWS README TODO ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} .endfor - ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}/html - ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/doc/html/ ${DOCSDIR}/html .endif .include <bsd.port.post.mk> |