Unbreak. Their home-grown way of configuring is so...quaint that it makes

me want to barf. What's actually going on is that for some reason 'bsconf'
(go figure) doesn't like us setting CXX='c++' and thus can't detect our
headers.
This commit is contained in:
Volker Stolz 2005-03-08 18:07:42 +00:00
parent c668e34b8b
commit d4295e3371
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130636

View file

@ -23,10 +23,14 @@ USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
HAS_CONFIGURE= yes
USE_GMAKE= yes
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
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|SIZE_MAX|UINT_MAX|" ${WRKSRC}/memblock.h