summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2002-06-08 20:58:53 +0000
committerTor Egge <tegge@FreeBSD.org>2002-06-08 20:58:53 +0000
commit85fb13382f6c7dfb3af9e98ef696e75868b344f3 (patch)
treefda0fe189012641fd1a5bcf516385f2b6cc527b4 /devel
parentchange MASTER_SITES to CPAN (diff)
Reduce number of portlint errors/warnings.
Notes
Notes: svn path=/head/; revision=60909
Diffstat (limited to 'devel')
-rw-r--r--devel/linuxthreads/Makefile39
1 files changed, 19 insertions, 20 deletions
diff --git a/devel/linuxthreads/Makefile b/devel/linuxthreads/Makefile
index 590c7361f094..537b3121c24e 100644
--- a/devel/linuxthreads/Makefile
+++ b/devel/linuxthreads/Makefile
@@ -46,26 +46,26 @@ pre-fetch:
@${ECHO}
.endif
@if ${TEST} -f /usr/src/gnu/lib/libgcc/Makefile; then \
- : ; \
- else \
- ${ECHO_MSG} ">>The linuxthreads port needs source code for libgcc"; \
- ${ECHO_MSG} ">>Please install FreeBSD source code in /usr/src"; \
- false; \
+ : ; \
+ else \
+ ${ECHO_MSG} ">>The linuxthreads port needs source code for libgcc"; \
+ ${ECHO_MSG} ">>Please install FreeBSD source code in /usr/src"; \
+ ${FALSE}; \
fi
.if defined(USING_GCC3)
@if ${TEST} -f /usr/src/gnu/lib/libstdc++/Makefile; then \
- : ; \
- else \
- ${ECHO_MSG} ">>The linuxthreads port needs source code for libstdc++"; \
- ${ECHO_MSG} ">>Please install FreeBSD source code in /usr/src"; \
- false; \
+ : ; \
+ else \
+ ${ECHO_MSG} ">>The linuxthreads port needs source code for libstdc++"; \
+ ${ECHO_MSG} ">>Please install FreeBSD source code in /usr/src"; \
+ ${FALSE}; \
fi
@if ${TEST} -f /usr/src/gnu/lib/libsupc++/Makefile; then \
- : ; \
- else \
- ${ECHO_MSG} ">>The linuxthreads port needs source code for libsupc++"; \
- ${ECHO_MSG} ">>Please install FreeBSD source code in /usr/src"; \
- false; \
+ : ; \
+ else \
+ ${ECHO_MSG} ">>The linuxthreads port needs source code for libsupc++"; \
+ ${ECHO_MSG} ">>Please install FreeBSD source code in /usr/src"; \
+ ${FALSE}; \
fi
.endif
@@ -78,7 +78,7 @@ post-extract:
.endfor
@cd ${FILESDIR} ; \
${CP} -p ${threads_files} ${WRKSRC}/.
- @${MKDIR} -p ${WRKSRC}/libgcc_r
+ @${MKDIR} ${WRKSRC}/libgcc_r
@${TEST} -f ${WRKSRC}/libgcc_r/Makefile || \
${LN} -s ${FILESDIR}/Makefile.libgcc_r ${WRKSRC}/libgcc_r/Makefile
@${SED} -e 's/^LIB=[ ]*gcc$$/LIB= lgcc_r/;' \
@@ -88,7 +88,7 @@ post-extract:
${MV} ${WRKSRC}/libgcc_r/Makefile.inc.tmp \
${WRKSRC}/libgcc_r/Makefile.inc
.if defined(USING_GCC3)
- @${MKDIR} -p ${WRKSRC}/libstdc++
+ @${MKDIR} ${WRKSRC}/libstdc++
@${TEST} -f ${WRKSRC}/libstdc++/Makefile || \
${LN} -s ${FILESDIR}/Makefile.libstdc++ ${WRKSRC}/libstdc++/Makefile
@${SED} -e 's/^LIB=[ ]*stdc\+\+$$/LIB= lstdc++/;' \
@@ -97,7 +97,7 @@ post-extract:
> ${WRKSRC}/libstdc++/Makefile.inc.tmp && \
${MV} ${WRKSRC}/libstdc++/Makefile.inc.tmp \
${WRKSRC}/libstdc++/Makefile.inc
- @${MKDIR} -p ${WRKSRC}/libsupc++
+ @${MKDIR} ${WRKSRC}/libsupc++
@${TEST} -f ${WRKSRC}/libsupc++/Makefile || \
${LN} -s ${FILESDIR}/Makefile.libsupc++ ${WRKSRC}/libsupc++/Makefile
@${SED} -e 's/^LIB=[ ]*supc\+\+$$/LIB= lsupc++/;' \
@@ -115,7 +115,7 @@ post-patch:
${ECHO_MSG} "===> Patch condwait-patch applied successfully"; \
else \
${ECHO_MSG} ">>Patch condwait-patch failed to apply cleanly"; \
- false ; \
+ ${FALSE}; \
fi
.endif
@@ -164,5 +164,4 @@ PLIST_SUB+= GCC3ONLY:="@comment "
PLIST_SUB+= LTHREADSHMAJOR:="2"
.endif
-
.include <bsd.port.post.mk>