ports/180809: [MAINTAINER] net-p2p/libtorrent-rasterbar-16: Cleanup Makefile, adjust master and slave
nemysis
nemysis at gmx.ch
Wed Jul 24 17:20:01 UTC 2013
>Number: 180809
>Category: ports
>Synopsis: [MAINTAINER] net-p2p/libtorrent-rasterbar-16: Cleanup Makefile, adjust master and slave
>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: Wed Jul 24 17:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.1-RELEASE-p10 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p10 FreeBSD 9.1-RELEASE-p10 #0: Fri Jun 28 19:52:22 UTC 2013
>Description:
- Trim typo
- Remove not needed slave-post-patch
- Trim REINPLACE_CMD
- Remove not needed slave-post-install
- Cleanup Makefile
Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
Build log
https://redports.org/buildarchive/20130724160600-11924/
>Fix:
--- libtorrent-rasterbar-0.16.10.patch begins here ---
diff -ruN /usr/ports/net-p2p/libtorrent-rasterbar-16/Makefile ./Makefile
--- /usr/ports/net-p2p/libtorrent-rasterbar-16/Makefile 2013-07-10 19:26:45.000000000 +0200
+++ ./Makefile 2013-07-24 18:04:03.000000000 +0200
@@ -42,7 +42,7 @@
DOCSRCDIR1= ${WRKSRC}
DOC_FILES1= AUTHORS README
-DOCSRCDIR2= ${WRKSRC}/docs
+DOCSRCDIR2= ${WRKSRC}/docs
DOCSDIR2= ${DOCSDIR}/docs
DOC_FILES2= *.png *.jpg *.gif *.html *.rst *.css
@@ -50,7 +50,7 @@
OPTIONS_DEFINE= DOCS EXAMPLES
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes" && defined(USE_PYTHON)
CONFIGURE_ARGS+= --enable-python-binding \
@@ -59,20 +59,11 @@
CONFIGURE_ARGS+= --disable-python-binding
.endif
-.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes"
-post-patch: slave-post-patch
-.else
-
post-patch:
- @${REINPLACE_CMD} -e 's|<include>/usr/local/include|<include>${PREFIX}/include|' \
+ @${REINPLACE_CMD} -e 's|/usr/local/include|${PREFIX}/include|' \
${WRKSRC}/Jamfile
-.endif
-.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes"
-post-install: slave-post-install
-.else
post-install:
-.endif
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR}
@@ -84,4 +75,4 @@
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- libtorrent-rasterbar-0.16.10.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list