Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FreeBSD audio/mad problems

0 views
Skip to first unread message

Mario Sergio Fujikawa Ferreira

unread,
Jul 5, 2002, 11:17:56 PM7/5/02
to

--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

Regards,

--
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
Computer Science Undergraduate | FreeBSD Committer | CS Developer
flames to beloved dev...@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature

--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-mad

--- 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

--9jxsPFA5p3P2qPhR--

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

Andy Sparrow

unread,
Jul 6, 2002, 3:03:52 AM7/6/02
to
--==_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 dev...@someotherworldbeloworabove.org
> feature, n: a documented bug | bug, n: an undocumented feature
>

--==_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--

Jason R. Mastaler

unread,
Jul 8, 2002, 3:09:53 PM7/8/02
to
Mario Sergio Fujikawa Ferreira <li...@FreeBSD.org> writes:

> 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.

Works for me.

--
(http://tmda.sourceforge.net/)

0 new messages