Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2018 12:20:39 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476508 - head/x11/xorgproto
Message-ID:  <201808061220.w76CKd8v046156@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808061220.w76CKd8v046156>