ports/56761: [MAINTAINER] devel/mico: change -pthread with ${PTHREAD_LIBS}
Sergey Matveychuk
sem at ciam.ru
Sun Sep 14 04:10:21 UTC 2003
>Number: 56761
>Category: ports
>Synopsis: [MAINTAINER] devel/mico: change -pthread with ${PTHREAD_LIBS}
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 13 21:10:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergey Matveychuk
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD sem-home.ciam.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Sat Sep 13 12:21:16 MSD 2003
>Description:
change -pthread with ${PTHREAD_LIBS}
strip some commands output
Generated with FreeBSD Port Tools 0.26
>How-To-Repeat:
>Fix:
--- mico-2.3.10_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/mico.orig/Makefile /usr/ports/devel/mico/Makefile
--- /usr/ports/devel/mico.orig/Makefile Mon Sep 8 12:33:31 2003
+++ /usr/ports/devel/mico/Makefile Sun Sep 14 07:40:53 2003
@@ -97,20 +97,20 @@
@${ECHO_MSG} "============================================================================"
post-extract:
- ${TAR} xzf ${DISTDIR}/doc-html.tar.gz -C ${WRKDIR}
+ @${TAR} xzf ${DISTDIR}/doc-html.tar.gz -C ${WRKDIR}
post-patch:
- ${REINPLACE_CMD} -e "s#-O2#${CFLAGS}#" ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e "s#-O2#${CFLAGS}#;s#\"-pthread#\"${PTHREAD_LIBS}#" ${WRKSRC}/configure
.if ${OSVERSION} < 500035 && !defined(WITH_SYSTEM_GCC)
- ${LN} -s /usr/include/g++/FlexLexer.h ${WRKSRC}/include
+ @${LN} -s /usr/include/g++/FlexLexer.h ${WRKSRC}/include
.endif
post-configure:
- ${FIND} ${WRKSRC}/demo -name Makefile | ${XARGS} \
+ @${FIND} ${WRKSRC}/demo -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s#/doc/mico/examples#${EXAMPLESDIR:S#^${PREFIX}##}#"
- ${REINPLACE_CMD} -e "s#/doc/mico/examples#${EXAMPLESDIR:S#^${PREFIX}##}#" ${WRKSRC}/demo/MakeVars
- ${REINPLACE_CMD} -e "s#ministl##" ${WRKSRC}/include/Makefile
- ${RM} -f ${WRKSRC}/include/mico/*.orig ${WRKSRC}/include/coss/*.orig
+ @${REINPLACE_CMD} -e "s#/doc/mico/examples#${EXAMPLESDIR:S#^${PREFIX}##}#" ${WRKSRC}/demo/MakeVars
+ @${REINPLACE_CMD} -e "s#ministl##" ${WRKSRC}/include/Makefile
+ @${RM} -f ${WRKSRC}/include/mico/*.orig ${WRKSRC}/include/coss/*.orig
post-install:
@for i in `${GREP} '^lib/lib.*so$$' ${TMPPLIST}`; do \
--- mico-2.3.10_3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list