mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
Ensure the build without network
This commit is contained in:
parent
12734af7f0
commit
4f1266e890
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460887
@ -28,6 +28,7 @@ python2_CMD= ${PYTHON_CMD}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^INSTALL_PROG/ s|INSTALL_PROGRAM|INSTALL_SCRIPT|; s|\.conf|&.sample|; s|python\( a2x.py\)|${PYTHON_CMD}\1|' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/a2x.py
|
||||
@${FIND} ${WRKSRC} -name '*.conf' | ${XARGS} -I % ${LN} % %.sample
|
||||
|
||||
post-install:
|
||||
|
11
textproc/asciidoc/files/patch-a2x.py
Normal file
11
textproc/asciidoc/files/patch-a2x.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- a2x.py.orig 2018-01-13 22:10:35 UTC
|
||||
+++ a2x.py
|
||||
@@ -498,7 +498,7 @@ class A2X(AttrDict):
|
||||
self.asciidoc_opts += ' --doctype %s' % self.doctype
|
||||
for attr in self.attributes:
|
||||
self.asciidoc_opts += ' --attribute "%s"' % attr
|
||||
-# self.xsltproc_opts += ' --nonet'
|
||||
+ self.xsltproc_opts += ' --nonet --path /usr/local/share/xsl/docbook/manpages/'
|
||||
if self.verbose:
|
||||
self.asciidoc_opts += ' --verbose'
|
||||
self.dblatex_opts += ' -V'
|
Loading…
Reference in New Issue
Block a user