Bug 181956 - [PATCH] audio/libaacplus: package error
Summary: [PATCH] audio/libaacplus: package error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-09 03:00 UTC by takefu
Modified: 2013-09-09 11:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description takefu 2013-09-09 03:00:00 UTC
  fix installdirectory aacplus.pc

Reporter (gergely.czuczy@harmless.hu) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)

Fix: 

--------------030101050004060904040500
Content-Type: text/plain; charset=Shift_JIS;
 name="=?Shift_JIS?B?k1mVdIOBg2KDWoFbg1eVlA==?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*=Shift_JIS''%93%59%95%74%83%81%83%62%83%5A%81%5B%83%57%95%94


--------------030101050004060904040500----IcKSzaNez5JmhbF0dD8VL1CnpQKMAgzpIfLkUcucwOrpVWvg
Content-Type: text/plain; name="libaacplus-2.0.2_2.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="libaacplus-2.0.2_2.patch"

diff -ruN /usr/ports/audio/libaacplus/Makefile ./Makefile
--- /usr/ports/audio/libaacplus/Makefile	2013-09-02 19:06:03.000000000 +0900
+++ ./Makefile	2013-09-06 13:16:00.000000000 +0900
@@ -3,7 +3,7 @@

 PORTNAME=	libaacplus
 PORTVERSION=	2.0.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	http://media.wnet.ua/~tipok/aacplus/:site1\
 		ftp://ftp.3gpp.org/Specs/archive/26_series/26.410/:site2\
@@ -27,14 +27,12 @@
 MAKE_JOBS_UNSAFE=	yes

 AUTOMAKE_ARGS=	--add-missing
-ACLOCAL_ARGS=	--automake-acdir=${ACLOCAL_DIR} \
-		-I ${LOCALBASE}/share/aclocal -I ${WRKSRC}/m4
 LIBTOOLIZE_ARGS=--automake

 MAN1=		aacplusenc.1

 OPTIONS_DEFINE=	FFTW3
-OPTIONS_DEFAULT=	FFTW3
+OPTIONS_DEFAULT=FFTW3
 FFTW3_DESC=	Use FFTW3

 .include <bsd.port.options.mk>
@@ -42,8 +40,7 @@
 .if ${PORT_OPTIONS:MFFTW3}
 LIB_DEPENDS+=	fftw3:${PORTSDIR}/math/fftw3\
 		fftw3f:${PORTSDIR}/math/fftw3-float
-CONFIGURE_ARGS+=--with-fftw3=yes \
-		--with-fftw3-prefix=${LOCALBASE}
+CONFIGURE_ARGS+=--with-fftw3=yes --with-fftw3-prefix=${LOCALBASE}
 .else
 CONFIGURE_ARGS+=--with-fftw3=no
 .endif
@@ -52,5 +49,5 @@
 	@${CP} ${DISTDIR}/26410-800.zip ${WRKSRC}/src
 	@${REINPLACE_CMD} -e 's,@includedir@\/aacplus,@prefix@\/include,' ${WRKSRC}/aacplus.pc.in
 	@${REINPLACE_CMD} -e 's,\/aacplus\.h,\/libaacplus\/aacplus\.h,' ${WRKSRC}/aacplus.spec.in
-
+	@${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' ${WRKSRC}/Makefile.am
 .include <bsd.port.mk>
How-To-Repeat: $ make -C /usr/ports/audio/libaacplus package
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-09 03:00:08 UTC
Class Changed
From-To: change-request->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-09-09 09:07:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-09-09 11:09:30 UTC
Author: sunpoet
Date: Mon Sep  9 10:09:00 2013
New Revision: 326796
URL: http://svnweb.freebsd.org/changeset/ports/326796

Log:
  - Fix make package
  - Cosmetic change
  
  PR:		ports/181956
  Submitted by:	Takefu <takefu@airport.fm> (maintainer)
  Reported by:	gergely.czuczy@harmless.hu

Modified:
  head/audio/libaacplus/Makefile

Modified: head/audio/libaacplus/Makefile
==============================================================================
--- head/audio/libaacplus/Makefile	Mon Sep  9 10:08:55 2013	(r326795)
+++ head/audio/libaacplus/Makefile	Mon Sep  9 10:09:00 2013	(r326796)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libaacplus
 PORTVERSION=	2.0.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	http://media.wnet.ua/~tipok/aacplus/:site1\
 		ftp://ftp.3gpp.org/Specs/archive/26_series/26.410/:site2\
@@ -23,18 +23,17 @@ USES=		pathfix pkgconfig
 USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	libtool libtoolize aclocal autoheader automake
 GNOME_MAKEFILEIN=	Makefile.am
+PATHFIX_MAKEFILEIN=	Makefile.am
 GNU_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=	yes
 
 AUTOMAKE_ARGS=	--add-missing
-ACLOCAL_ARGS=	--automake-acdir=${ACLOCAL_DIR} \
-		-I ${LOCALBASE}/share/aclocal -I ${WRKSRC}/m4
 LIBTOOLIZE_ARGS=--automake
 
 MAN1=		aacplusenc.1
 
 OPTIONS_DEFINE=	FFTW3
-OPTIONS_DEFAULT=	FFTW3
+OPTIONS_DEFAULT=FFTW3
 FFTW3_DESC=	Use FFTW3
 
 .include <bsd.port.options.mk>
@@ -42,8 +41,7 @@ FFTW3_DESC=	Use FFTW3
 .if ${PORT_OPTIONS:MFFTW3}
 LIB_DEPENDS+=	fftw3:${PORTSDIR}/math/fftw3\
 		fftw3f:${PORTSDIR}/math/fftw3-float
-CONFIGURE_ARGS+=--with-fftw3=yes \
-		--with-fftw3-prefix=${LOCALBASE}
+CONFIGURE_ARGS+=--with-fftw3=yes --with-fftw3-prefix=${LOCALBASE}
 .else
 CONFIGURE_ARGS+=--with-fftw3=no
 .endif
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-09-09 11:10:21 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!