diff options
-rw-r--r-- | devel/ustl/Makefile | 19 | ||||
-rw-r--r-- | devel/ustl/distinfo | 4 |
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 |