Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2022 20:44:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 253038] editors/libreoffice fails to stage
Message-ID:  <bug-253038-25061-yfLFvPRL8v@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253038-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253038-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253038

--- Comment #3 from Mikhail Teterin <mi@FreeBSD.org> ---
(In reply to VVD from comment #2)
> Is it still issue with current version of the LibreOffice?

Yes, it is an issue, depending on the OPTIONS selected. You don't see it in=
 the
cluster-built packages, because of the defaults there.

On this desktop, for example, with options defined as:

_OPTIONS_READ=3Dlibreoffice-7.2.5.2
_FILE_COMPLETE_OPTIONS_LIST=3DCOINMP CUPS DOCS GNOME GTK3 GTK4 JAVA KF5 LTO
MARIADB MMEDIA PGSQL QT5 SDK TEST WEBDAV
OPTIONS_FILE_UNSET+=3DCOINMP
OPTIONS_FILE_SET+=3DCUPS
OPTIONS_FILE_UNSET+=3DDOCS
OPTIONS_FILE_SET+=3DGNOME
OPTIONS_FILE_SET+=3DGTK3
OPTIONS_FILE_UNSET+=3DGTK4
OPTIONS_FILE_UNSET+=3DJAVA
OPTIONS_FILE_UNSET+=3DKF5
OPTIONS_FILE_SET+=3DLTO
OPTIONS_FILE_UNSET+=3DMARIADB
OPTIONS_FILE_SET+=3DMMEDIA
OPTIONS_FILE_UNSET+=3DPGSQL
OPTIONS_FILE_UNSET+=3DQT5
OPTIONS_FILE_UNSET+=3DSDK
OPTIONS_FILE_UNSET+=3DTEST
OPTIONS_FILE_SET+=3DWEBDAV

there is no ${PREFIX}/share at all in the output of `pkg info --list-files
libreoffice`.

Of course, I had to patch the port's Makefile as below to make it stage:

```patch
@@ -333,8 +333,10 @@ post-install:
        @cd ${STAGEDIR}${PREFIX} && \
        ${FIND} -s bin lib man -not -type d >> ${TMPPLIST}
 .for subdir in applications bash-completion icons metainfo mime
+.      if exists(${STAGEDIR}${PREFIX}/${subdir})
        @cd ${STAGEDIR}${PREFIX} && \
        ${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST}
+.      endif
 .endfor

 post-install-SDK-on:
```

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253038-25061-yfLFvPRL8v>