ports/173443: [PATCH] graphics/feh: OptionsNG, removed not needed patch
nemysis
nemysis at gmx.ch
Wed Nov 7 14:00:00 UTC 2012
>Number: 173443
>Category: ports
>Synopsis: [PATCH] graphics/feh: OptionsNG, removed not needed patch
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 07 14:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:
Makefile changed:
+.include <bsd.port.options.mk>
Removed because is in cam/gen-cam-menu already #!/bin/sh
- @${REINPLACE_CMD} 's#/bin/bash#/bin/sh#' ${WRKSRC}/cam/gen-cam-menu
# changed to more usuall |
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
Port maintainer (zeising at FreeBSD.org) is cc'd.
Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
portlint -A
looks usual.
port test: clean
Build log
https://redports.org/buildarchive/20121107013753-61480/
>Fix:
--- feh-2.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/feh/Makefile ./Makefile
--- /usr/ports/graphics/feh/Makefile 2012-11-03 21:55:24.000000000 +0100
+++ ./Makefile 2012-11-07 02:32:15.000000000 +0100
@@ -29,16 +29,15 @@
PORTDOCS= AUTHORS ChangeLog README TODO
+.include <bsd.port.options.mk>
+
post-patch:
- @${REINPLACE_CMD} 's#/bin/bash#/bin/sh#' ${WRKSRC}/cam/gen-cam-menu
- @${REINPLACE_CMD} 's#/install-man install-doc#install-man#' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} 's|/install-man install-doc|install-man|' ${WRKSRC}/Makefile
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
--- feh-2.7.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list