ports/181778: Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS in gmime2 and gmime24
Alan Hicks
ahicks at p-o.co.uk
Tue Sep 3 11:40:00 UTC 2013
>Number: 181778
>Category: ports
>Synopsis: Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS in gmime2 and gmime24
>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: Tue Sep 03 11:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Alan Hicks
>Release: FreeBSD 9.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD schnittke.p-o.co.uk 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:01:40 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS in gmime2 and gmime24
>How-To-Repeat:
>Fix:
Apply patch, no version changes or functionally changes so no revision bump needed
--- gmime2.diff begins here ---
diff -ur gmime2.orig/Makefile gmime2/Makefile
--- gmime2.orig/Makefile 2013-07-31 12:57:45.000000000 +0100
+++ gmime2/Makefile 2013-09-03 12:06:18.000000000 +0100
@@ -34,13 +34,15 @@
PORTDOCS= *
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e "s|stdint.h|inttypes.h|" ${WRKSRC}/zentimer.h
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
${WRKSRC}/gmime/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in docs/reference/html/*
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
--- gmime2.diff ends here ---
--- gmime24.diff begins here ---
diff -ur gmime24.orig/Makefile gmime24/Makefile
--- gmime24.orig/Makefile 2013-05-08 23:23:36.000000000 +0100
+++ gmime24/Makefile 2013-09-03 12:01:53.000000000 +0100
@@ -37,12 +37,14 @@
PORTDOCS= *
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
${WRKSRC}/*/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in docs/reference/html/*
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
--- gmime24.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list