- Don't disable fastalloc on 6.X; fixes runtime crash

PR:		ports/91545
Submitted by:	Gregory Wright <gwright@antiope.com>
This commit is contained in:
Pav Lucistnik 2006-01-10 14:18:14 +00:00
parent 0b2183233e
commit 2bb673380d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153196

View File

@ -30,8 +30,9 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-fastalloc --enable-optimize="${CXXFLAGS}" \
CONFIGURE_ARGS= --enable-optimize="${CXXFLAGS}" \
--with-iconv="${LOCALBASE}"
MAKE_ARGS= CP="${CP} -R -f"
ALL_TARGET= ${PORTNAME:U}
@ -43,6 +44,12 @@ LIB_DEPENDS+= Imlib2.3:${PORTSDIR}/graphics/imlib2
CONFIGURE_ARGS+= --with-imlib2
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
CONFIGURE_ARGS+=--disable-fastalloc
.endif
post-patch:
@${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|#!/bin/bash|#!/bin/sh|g'
@ -53,4 +60,4 @@ post-install:
${CHOWN} -R ${LIBOWN}:${LIBGRP} ${PREFIX}/libexec/TeXmacs
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/TeXmacs
.include <bsd.port.mk>
.include <bsd.port.post.mk>