net/avahi-app
Doug Barton
dougb at FreeBSD.org
Sat Mar 27 22:57:24 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
On 03/27/10 14:05, Joe Marcus Clarke wrote:
> On Fri, 2010-03-26 at 18:14 -0700, Doug Barton wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: RIPEMD160
>>
>> Howdy,
>>
>> FYI I am in the process of deprecating the %%RC_SUBR%% stuff and noticed
>> that net/avahi-app has some code related to it. I have already updated
>> the patch files for the rc.d scripts (which can now be simplified the
>> next time they are regenerated) but I also noticed that there are some
>> other related items in the Makefile that can probably be eliminated as
>> well.
>
> Do you have specifics of what needs to be changed?
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/avahi-app/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
- --- Makefile 2 Aug 2009 19:34:56 -0000 1.22
+++ Makefile 27 Mar 2010 22:53:54 -0000
@@ -111,7 +111,7 @@
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
${REINPLACE_CMD} -e 's|(LIBINTL)|(INTLLIBS)|g ; \
s|(LIBICONV)|(LTLIBICONV)|g'
- - @${REINPLACE_CMD} -e 's|%%RC_SUBR%%|${RC_SUBR}| ; \
+ @${REINPLACE_CMD} -e 's|%%RC_SUBR%%|/etc/rc.subr| ; \
s|%%GNOME_SUBR%%|${GNOME_SUBR}|' \
${WRKSRC}/initscript/freebsd/avahi-dnsconfd.sh.in \
${WRKSRC}/initscript/freebsd/avahi-daemon.sh.in
Also, the 2 patches patch-initscript_freebsd_avahi-daemon.sh.in and
patch-initscript_freebsd_avahi-dnsconfd.sh.in can be regenerated,
although that's not urgent.
> Avahi is interesting
> as it includes FreeBSD init scripts in the distribution.
Right, I noticed a few other ports with similar configurations. In that
case USE_RC_SUBR= yes is probably the right solution.
Doug
- --
... and that's just a little bit of history repeating.
-- Propellerheads
Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
iEYEAREDAAYFAkuujVEACgkQyIakK9Wy8Pv2WgCgzu7DarSEYKGqqxm6nBBR/Jd1
10QAnifz6GLmUMpfNWZ1W5091WoPqAAp
=oVoJ
-----END PGP SIGNATURE-----
More information about the freebsd-gnome
mailing list