pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/49343: libpurple with option 'perl' fails during packaging when Purple.bs is empty



The following reply was made to PR pkg/49343; it has been noted by GNATS.

From: Filip Hajny <filip%joyent.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/49343: libpurple with option 'perl' fails during packaging when Purple.bs is empty
Date: Sun, 23 Nov 2014 13:48:15 +0100

 22. 11. 2014 v 20:55, David Holland <dholland-pbugs%netbsd.org@localhost>:
 >=20
 > The following reply was made to PR pkg/49343; it has been noted by =
 GNATS.
 >=20
 > From: David Holland <dholland-pbugs%netbsd.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:=20
 > Subject: Re: pkg/49343: libpurple with option 'perl' fails during =
 packaging
 > when Purple.bs is empty
 > Date: Sat, 22 Nov 2014 19:52:49 +0000
 >=20
 > On Fri, Oct 31, 2014 at 05:55:00AM +0000, richard%NetBSD.org@localhost wrote:
 >> pidgin-2.10.9/libpurple/plugins/perl/common/Makefile has the
 >> following 'dynamic' installation snippet:
 >>> $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) =
 >$(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPORT_LIST) $(PERL_ARCHIVE) =
 >$(PERL_ARCHIVE_AFTER) $(INST_DYNAMIC_DEP)
 >>>   $(RM_F) $@
 >>>   $(LD)  $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) -o $@ $(MYEXTLIB) \
 >>>     $(PERL_ARCHIVE) $(LDLOADLIBS) $(PERL_ARCHIVE_AFTER) =
 >$(EXPORT_LIST)    \
 >>>     $(INST_DYNAMIC_FIX)
 >>>   $(CHMOD) $(PERM_RWX) $@
 >>>   $(NOECHO) $(RM_RF) $(BOOTSTRAP)
 >>>   - $(CP_NONEMPTY) $(BOOTSTRAP) $(INST_BOOT) $(PERM_RW)
 >>=20
 >> where CP_NONEMPTY is defined as:
 >>> CP_NONEMPTY =3D $(ABSPERLRUN) -MExtUtils::Command::MM -e =
 'cp_nonempty' --
 >>=20
 >> Perhaps adding a variable for PLIST testing for Purple.bs being
 >> present is a solution. Currently PLIST uses the following for
 >> Purple.bs:
 >>> ${PLIST.perl}lib/purple-2/perl/auto/Purple/Purple.bs
 >=20
 > Would it be wrong to patch it to always install Purple.bs even if it's
 > empty? (I have no idea what the file is or what it does=E2=80=A6)
 
 Starting with Perl 5.20, the .bs files are no longer generated if empty. =
 No need to carry such in PLIST anymore.
 
 -F=
 


Home | Main Index | Thread Index | Old Index