Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jul 2002 03:03:16 -0400
From:      Andy Sparrow <spadger@best.com>
To:        Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.ORG>
Cc:        Christian Weisgerber <naddy@mips.inka.de>, freebsd-ports@FreeBSD.ORG, Andy Sparrow <spadger@best.com>
Subject:   Re: FreeBSD audio/mad problems 
Message-ID:  <20020706070317.227A43E13@CRWdog.demon.co.uk>
In-Reply-To: Message from Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.ORG>  of "Fri, 05 Jul 2002 16:09:45 -0300." <20020705191007.75062.qmail@exxodus.fedaykin.here> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_-1123021080P
Content-Type: text/plain; charset=us-ascii

> 	I cooked a small patch based on the suggestion to use latest
> autoconf. However, there was a side-effect of using autoconf which
> I addressed with a post-patch target.
> 	Furthermore, I added some lines to pkg-plist to make sure
> it cleans up properly when deinstalled.
> 	Let me know if I can commit this patch.

Hi,

Yes, this does indeed seem to fix the problem on -STABLE, for me at least :)

Thanks!

AS

> 	Regards,
> 
> -- 
> Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
> Computer Science Undergraduate | FreeBSD Committer | CS Developer
> flames to beloved devnull@someotherworldbeloworabove.org
> feature, n: a documented bug | bug, n: an undocumented feature
> 
> --- Makefile.orig	Wed Jul  3 19:00:26 2002
> +++ Makefile	Fri Jul  5 16:02:08 2002
> @@ -19,7 +19,9 @@
>  
>  WANT_ESOUND=	yes
>  
> +USE_AUTOCONF=	yes
>  USE_LIBTOOL=	yes
> +USE_REINPLACE=	yes
>  INSTALLS_SHLIB=	yes
>  LIBTOOLFILES=	configure libmad/configure libid3tag/configure
>  CONFIGURE_ARGS=	--enable-shared \
> @@ -38,5 +40,10 @@
>  .else
>  CONFIGURE_ARGS+= --without-esd
>  .endif
> +
> +post-patch:
> +# fix weird @INSTALL@ behavior caused by USE_AUTOCONF
> +	@${FIND} ${WRKSRC} -type f -name Makefile.in | ${XARGS} -n 10 \
> +		${REINPLACE_CMD} -E -e 's|^(INSTALL[[:space:]]*=).*$$|\1 ${INSTALL_DATA}|'
>  
>  .include <bsd.port.post.mk>
> --- pkg-plist.orig	Fri Jul  5 16:02:46 2002
> +++ pkg-plist	Fri Jul  5 16:04:39 2002
> @@ -14,3 +14,13 @@
>  share/locale/fr/LC_MESSAGES/mad.mo
>  share/locale/hr/LC_MESSAGES/mad.mo
>  share/locale/no/LC_MESSAGES/mad.mo
> +@exec rmdir %D/share/locale/no/LC_MESSAGES 2>/dev/null || true
> +@exec rmdir %D/share/locale/no 2>/dev/null || true
> +@exec rmdir %D/share/locale/hr/LC_MESSAGES 2>/dev/null || true
> +@exec rmdir %D/share/locale/hr 2>/dev/null || true
> +@exec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
> +@exec rmdir %D/share/locale/fr 2>/dev/null || true
> +@exec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
> +@exec rmdir %D/share/locale/es 2>/dev/null || true
> +@exec rmdir %D/share/locale/en/LC_MESSAGES 2>/dev/null || true
> +@exec rmdir %D/share/locale/en 2>/dev/null || true
> 



--==_Exmh_-1123021080P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
Comment: Exmh version 2.5 07/13/2001

iD8DBQE9JpY0PHh895bDXeQRAsx3AJ4m8aphtqI0c1HnB8L4qxXfNPVRvgCgjVzA
djdxblfD6vQn4z0t3vJTczI=
=Z+hb
-----END PGP SIGNATURE-----

--==_Exmh_-1123021080P--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020706070317.227A43E13>