From owner-freebsd-ports Sat Jul 6 0: 3:39 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E77F37B400; Sat, 6 Jul 2002 00:03:36 -0700 (PDT) Received: from CRWdog.demon.co.uk (adsl-216-103-105-71.dsl.snfc21.pacbell.net [216.103.105.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8073D43E4A; Sat, 6 Jul 2002 00:03:34 -0700 (PDT) (envelope-from spadger@best.com) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id 227A43E13; Sat, 6 Jul 2002 03:03:17 -0400 (EDT) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Mario Sergio Fujikawa Ferreira Cc: Christian Weisgerber , freebsd-ports@FreeBSD.ORG, Andy Sparrow Subject: Re: FreeBSD audio/mad problems In-Reply-To: Message from Mario Sergio Fujikawa Ferreira of "Fri, 05 Jul 2002 16:09:45 -0300." <20020705191007.75062.qmail@exxodus.fedaykin.here> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1123021080P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 06 Jul 2002 03:03:16 -0400 From: Andy Sparrow Message-Id: <20020706070317.227A43E13@CRWdog.demon.co.uk> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --==_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 > --- 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