aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-08-10 20:59:26 +0800
committersem <sem@FreeBSD.org>2005-08-10 20:59:26 +0800
commit29e78218769803c1ca2d2ef046def46b1e3912d3 (patch)
tree8b7caaa40df64afbe2290823a1fb6f910b5a8871
parentf77f3b6abf232f2514d5c4e33e4f9a6ee6d13ddc (diff)
downloadfreebsd-ports-gnome-29e78218769803c1ca2d2ef046def46b1e3912d3.tar.gz
freebsd-ports-gnome-29e78218769803c1ca2d2ef046def46b1e3912d3.tar.zst
freebsd-ports-gnome-29e78218769803c1ca2d2ef046def46b1e3912d3.zip
- Update to 0.7.1 (it fixes build on 6.0)
- Pass maintainership to submitter PR: ports/84700 Submitted by: Andrej Zverev <az@inec.ru> Approved by: portmgr (linimon)
-rw-r--r--devel/ustl/Makefile19
-rw-r--r--devel/ustl/distinfo4
2 files changed, 10 insertions, 13 deletions
diff --git a/devel/ustl/Makefile b/devel/ustl/Makefile
index a21b0337761a..b8bf2a07713e 100644
--- a/devel/ustl/Makefile
+++ b/devel/ustl/Makefile
@@ -7,34 +7,31 @@
#
PORTNAME= ustl
-PORTVERSION= 0.6.0
+PORTVERSION= 0.7.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= az@inec.ru
COMMENT= Codespace-frugal STL implementation
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
-
USE_BZIP2= yes
USE_REINPLACE= yes
+USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
HAS_CONFIGURE= yes
-USE_GMAKE= yes
-MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
+MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
+ INCDIR="${PREFIX}/include" \
+ LIBDIR="${PREFIX}/lib"
ALL_TARGET= # empty
PLIST_FILES= lib/libustl.a
-do-configure:
- cd ${WRKSRC} && ./configure
-
post-patch:
- @${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash," ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e "s,/bin/bash,/bin/sh," ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|SIZE_MAX|UINT_MAX|" ${WRKSRC}/memblock.h
- @${REINPLACE_CMD} -e "s|-Werror||;s|-O3||" ${WRKSRC}/Common.mk.in
+ @${REINPLACE_CMD} -e "s|-O2|${CFLAGS}|" ${WRKSRC}/Common.mk.in
post-install:
@${FIND} ${PREFIX}/include/ustl* ! -type d | \
diff --git a/devel/ustl/distinfo b/devel/ustl/distinfo
index efbe318b42b1..5739613056f1 100644
--- a/devel/ustl/distinfo
+++ b/devel/ustl/distinfo
@@ -1,2 +1,2 @@
-MD5 (ustl-0.6-0.tar.bz2) = 8a1709b10f4378b429ce5d3d51bacb45
-SIZE (ustl-0.6-0.tar.bz2) = 206028
+MD5 (ustl-0.7-1.tar.bz2) = af245d73c1983823e94983a308246a7b
+SIZE (ustl-0.7-1.tar.bz2) = 103606