svn commit: r476508 - head/x11/xorgproto

Mathieu Arnold mat at FreeBSD.org
Mon Aug 6 12:20:40 UTC 2018


Author: mat
Date: Mon Aug  6 12:20:39 2018
New Revision: 476508
URL: https://svnweb.freebsd.org/changeset/ports/476508

Log:
  Fix Xprint build issue.
  
  For some reason, the Xprint.man patch is supposed to get into a subdirectory
  that does not exist:
  
    --------------------------
    |--- man/Xprint.man.orig	2018-07-24 10:46:56 UTC
    |+++ man/Xprint.man
    --------------------------
    (Creating file Xprint.man...)
    Patching file Xprint.man using Plan A...
    Empty context always matches.
    Hunk #1 succeeded at 1.
    done
  
  So patch extracts it in the first existing directory, and then the build fails:
  
    make[1]: don't know how to make man/Xprint.7. Stop
  
    make[1]: stopped in /wrkdirs/usr/ports/x11/xorgproto/work/xorgproto-2018.4
    *** Error code 1
  
    Stop.
  
  Sponsored by:	Absolight

Modified:
  head/x11/xorgproto/Makefile   (contents, props changed)

Modified: head/x11/xorgproto/Makefile
==============================================================================
--- head/x11/xorgproto/Makefile	Mon Aug  6 11:23:41 2018	(r476507)
+++ head/x11/xorgproto/Makefile	Mon Aug  6 12:20:39 2018	(r476508)
@@ -14,4 +14,7 @@ CONFIGURE_ARGS= --without-fop \
 		--without-xsltproc \
 		--enable-legacy
 
+pre-patch:
+	@${MKDIR} ${WRKSRC}/man
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list