[Midnightbsd-cvs] mports: Makefile: Implement several portlint fixes.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Oct 1 16:03:04 EDT 2008
Log Message:
-----------
Implement several portlint fixes.
* Remove whitespace in odd places.
* move bsd.port.pre.mk before the OPTIONS are used.
* Use ${LN} instead of ln
Modified Files:
--------------
mports/shells/bash:
Makefile (r1.7 -> r1.8)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/shells/bash/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -L shells/bash/Makefile -L shells/bash/Makefile -u -r1.7 -r1.8
--- shells/bash/Makefile
+++ shells/bash/Makefile
@@ -38,8 +38,10 @@
STATIC_BASH "Statically link bash." Off \
NLS "Enable native language support." On \
HELP "Install builtin help." On \
- HELPFILES "Install descrete helpfiles." On
-
+ HELPFILES "Install descrete helpfiles." On
+
+.include <bsd.port.pre.mk>
+
.if !defined(WITHOUT_IMPLICITCD)
EXTRA_PATCHES+= ${PATCHDIR}/xpatch-implicitcd
.endif
@@ -103,8 +105,6 @@
LDFLAGS="${LDFLAGS}" \
YACC="${YACC}"
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/bash.1
@@ -115,9 +115,8 @@
pre-build:
@${ECHO_CMD} $$((${PORTREVISION}-1)) > ${WRKSRC}/.build
-
post-install:
- ln -s ${PREFIX}/bin/bash ${PREFIX}/bin/rbash
+ ${LN} -s ${PREFIX}/bin/bash ${PREFIX}/bin/rbash
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.if !defined(WITH_INCLUDED_FAQ)
More information about the Midnightbsd-cvs
mailing list