On Wed, Jan 23 2019, Matthias Kilian <[email protected]> wrote:
> Hi,
>
> On Wed, Jan 23, 2019 at 10:54:02AM +0000, Edd Barrett wrote:
>> FWIW, I just did a manual "make build" in graphics/evince, which resulted in:
>> 
>> ```
>> In file included from ev-document.c:29:
>> /usr/local/include/synctex/synctex_parser.h:53:10: fatal error: 
>> 'synctex_version.h' file not found
>> #include "synctex_version.h"
>>          ^~~~~~~~~~~~~~~~~~~
>
> First, this looks like synctex_version.h is missing from texlive_base,
> which should be fixed anyway.

Here's a patch to address this, similar to what debian did:

  
https://salsa.debian.org/tex-team/texlive-bin/commit/7764b511543f2218527c068763827f2d5cd44ca5

I only patched the .in file though, to avoid an autoreconf dance.

ok?


Index: base/Makefile
===================================================================
RCS file: /cvs/ports/print/texlive/base/Makefile,v
retrieving revision 1.106
diff -u -p -r1.106 Makefile
--- base/Makefile       20 Jan 2019 11:17:32 -0000      1.106
+++ base/Makefile       23 Jan 2019 21:14:53 -0000
@@ -7,6 +7,8 @@ DISTNAME =              texlive-${DIST_V}-source
 PKGNAME =              texlive_base-${V}
 WRKDIST =              ${WRKDIR}/texlive-${DIST_V}-source
 
+REVISION-main =                0
+
 MULTI_PACKAGES = -main -mktexlsr
 PKGNAME-mktexlsr =     texlive_mktexlsr-${V}
 PKGNAME-main =         ${PKGNAME}
Index: base/patches/patch-texk_web2c_Makefile_in
===================================================================
RCS file: base/patches/patch-texk_web2c_Makefile_in
diff -N base/patches/patch-texk_web2c_Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ base/patches/patch-texk_web2c_Makefile_in   23 Jan 2019 21:14:53 -0000
@@ -0,0 +1,23 @@
+$OpenBSD$
+
+Install missing header.
+
+Index: texk/web2c/Makefile.in
+--- texk/web2c/Makefile.in.orig
++++ texk/web2c/Makefile.in
+@@ -1762,6 +1762,7 @@ NROFF = nroff
+ MANS = $(dist_man_MANS) $(nodist_man_MANS)
+ DATA = $(pkgconfig_DATA)
+ am__syncinclude_HEADERS_DIST = synctexdir/synctex_parser.h \
++      synctexdir/synctex_version.h \
+       synctexdir/synctex_parser_utils.h
+ HEADERS = $(syncinclude_HEADERS)
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive       \
+@@ -4021,6 +4022,7 @@ syncincludedir = ${includedir}/synctex
+ pkgconfigdir = ${libdir}/pkgconfig
+ @SYNCTEX_TRUE@syncinclude_HEADERS = \
+ @SYNCTEX_TRUE@        synctexdir/synctex_parser.h \
++@SYNCTEX_TRUE@        synctexdir/synctex_version.h \
+ @SYNCTEX_TRUE@        synctexdir/synctex_parser_utils.h
+ 
+ @SYNCTEX_TRUE@pkgconfig_DATA = synctexdir/synctex.pc
Index: base/pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/print/texlive/base/pkg/PLIST-main,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST-main
--- base/pkg/PLIST-main 20 Jan 2019 11:17:46 -0000      1.3
+++ base/pkg/PLIST-main 23 Jan 2019 21:14:53 -0000
@@ -412,6 +412,7 @@ include/ptexenc/unicode.h
 include/synctex/
 include/synctex/synctex_parser.h
 include/synctex/synctex_parser_utils.h
+include/synctex/synctex_version.h
 include/texlua52/
 include/texlua52/lauxlib.h
 include/texlua52/lua.h
@@ -450,7 +451,6 @@ lib/pkgconfig/texlua53.pc
 ${P5SITE}/TeXLive/
 ${P5SITE}/TeXLive/TLConfig.pm
 ${P5SITE}/TeXLive/TLUtils.pm
-share/applications/
 share/applications/xdvi.desktop
 share/doc/pkg-readmes/${PKGSTEM}
 @tag update-desktop-database
Index: texmf/Makefile
===================================================================
RCS file: /cvs/ports/print/texlive/texmf/Makefile,v
retrieving revision 1.55
diff -u -p -r1.55 Makefile
--- texmf/Makefile      20 Jan 2019 11:17:48 -0000      1.55
+++ texmf/Makefile      23 Jan 2019 21:14:53 -0000
@@ -24,6 +24,9 @@ PKGNAME-docs =                texlive_texmf-docs-${V}
 PKGNAME-context =      texlive_texmf-context-${V}
 PKGNAME-buildset =     texlive_texmf-buildset-${V}
 
+REVISION-main =                0
+REVISION-docs =                0
+
 NO_BUILD =             Yes
 NO_TEST =              Yes
 PKG_ARCH =             *
@@ -39,14 +42,14 @@ MODRUBY_RUNDEP =    No
 MODPY_BUILDDEP =       No
 MODPY_RUNDEP =         No
 
-RUN_DEPENDS-main +=    texlive_base-${V}:print/texlive/base,-main \
+RUN_DEPENDS-main +=    texlive_base-${V}p0:print/texlive/base,-main \
                        ${FULLPKGNAME-buildset}:print/texlive/texmf,-buildset
 RUN_DEPENDS-full =     ${FULLPKGNAME-main}:print/texlive/texmf,-main \
                        ${MODPY_RUN_DEPENDS} \
                        ${_MODLUA_RUNDEPENDS}
 RUN_DEPENDS-context += ${FULLPKGNAME-full}:print/texlive/texmf,-full \
                        ${MODRUBY_RUNDEPENDS}
-RUN_DEPENDS-docs +=    texlive_base-${V}:print/texlive/base,-main \
+RUN_DEPENDS-docs +=    texlive_base-${V}p0:print/texlive/base,-main \
                        x11/p5-Tk
 RUN_DEPENDS-buildset +=        
texlive_mktexlsr-${V}:print/texlive/base,-mktexlsr
 


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to