[Bug 229192] audio/pulseaudio: Update to 12.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 20 23:09:50 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229192

--- Comment #2 from lightside <lightside at gmx.com> ---
(In reply to comment #0)
> - Delete ${STAGEDIR}${PREFIX}/libexec/pulse directory, if it's empty
Possible to add following sed patch to post-patch stage:
-8<--
        @${REINPLACE_CMD} -e 's/test -n "$$(pulselibexecdir)"/& -a -n "`echo
$$(pulselibexec_PROGRAMS) | sed -e "s|[[:blank:]]||g"`"/' \
                ${WRKSRC}/src/Makefile.in
-->8-

or update files/patch-src_Makefile.in:
-8<--
--- src/Makefile.in.bak 2018-06-18 14:13:17 UTC
+++ src/Makefile.in
@@ -6461,7 +6461,7 @@
        rm -f $$list
 install-pulselibexecPROGRAMS: $(pulselibexec_PROGRAMS)
        @$(NORMAL_INSTALL)
-       @list='$(pulselibexec_PROGRAMS)'; test -n "$(pulselibexecdir)" ||
list=; \
+       @list='$(pulselibexec_PROGRAMS)'; test -n "$(pulselibexecdir)" -a -n
"`echo $(pulselibexec_PROGRAMS) | sed -e 's|[[:blank:]]||g'`" || list=; \
        if test -n "$$list"; then \
          echo " $(MKDIR_P) '$(DESTDIR)$(pulselibexecdir)'"; \
          $(MKDIR_P) "$(DESTDIR)$(pulselibexecdir)" || exit 1; \

-->8-

But I decided to propose some method in post-install stage instead.

Probably, this issue is automake 1.15.1 related (or related to src/Makefile.am
by itself), which was used to generate src/Makefile.in file:
http://git.savannah.gnu.org/cgit/automake.git/tree/lib/am/progs.am?h=v1.15.1#n25
http://git.savannah.gnu.org/cgit/automake.git/tree/lib/am/progs.am?h=v1.15.1#n30
where 'test -n "$$list"' check is true for pulselibexec_PROGRAMS value, which
may contain a space character, when am__EXEEXT_15 and am__EXEEXT_16 variables
are emtpy (in case if GCONF and GSETTINGS options was disabled), e.g. on 343
line of src/Makefile.in file:
<.. 342 ..>
pulselibexec_PROGRAMS = $(am__EXEEXT_15) $(am__EXEEXT_16)
<.. 2121 ..>
@HAVE_GCONF_TRUE at am__EXEEXT_15 = gconf-helper$(EXEEXT)
@HAVE_GSETTINGS_TRUE at am__EXEEXT_16 = gsettings-helper$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) $(pulselibexec_PROGRAMS)
<.. 2125 ..>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-gnome mailing list