Date: Wed, 16 Jan 2013 01:10:00 GMT From: nemysis <nemysis@gmx.ch> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/175262: [MAINTAINER] audio/portaudio2: Changed UNIQUENAME to portaudio2 Message-ID: <201301160110.r0G1A06v043729@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/175262; it has been noted by GNATS. From: nemysis <nemysis@gmx.ch> To: bug-followup@FreeBSD.org, makc@FreeBSD.org Cc: Subject: Re: ports/175262: [MAINTAINER] audio/portaudio2: Changed UNIQUENAME to portaudio2 Date: Wed, 16 Jan 2013 02:05:28 +0100 --MP_/B8ZQ/L0PpScvGOF/oJ6ofYh Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline > Why do you change PORTNAME, when you can directly set UNIQUENAME? > http://www.freebsd.org/cgi/query-pr.cgi?pr=175262 audio/portaudio and audio/portaudio2 have the same PORTNAME= portaudio I can't use for portaudio2 as usually port diff must use always /usr/local/ports/local/commited/audio/portaudio2/ > diff -ruN /usr/ports/audio/portaudio2 ./portaudio2 > portaudio2.diff Package name is portaudio-19.20111121 not portaudio2-19.20111121 Ok i have changed now only this in Makefile Adedd +UNIQUENAME= ${PORTNAME}2 and changed all ${PORTNAME}2 --> ${UNIQUENAME} Is this better or to change PORTNAME and have clean port diff and right package name? --MP_/B8ZQ/L0PpScvGOF/oJ6ofYh Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=portaudio2.diff diff -ruN /usr/ports/audio/portaudio2/Makefile ./portaudio2/Makefile --- /usr/ports/audio/portaudio2/Makefile 2013-01-14 17:54:23.000000000 +0100 +++ ./portaudio2/Makefile 2013-01-16 01:42:00.000000000 +0100 @@ -13,13 +13,14 @@ LICENSE= MIT +UNIQUENAME= ${PORTNAME}2 WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS+=PKG_CONFIG_LIBDIR=${PREFIX}/libdata/pkgconfig \ --without-alsa \ - --libdir=${PREFIX}/lib/${PORTNAME}2 \ - --includedir=${PREFIX}/include/${PORTNAME}2 + --libdir=${PREFIX}/lib/${UNIQUENAME} \ + --includedir=${PREFIX}/include/${UNIQUENAME} USE_GMAKE= yes USE_DOS2UNIX= yes @@ -31,7 +32,7 @@ PORTDOCS= * -DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}2 +DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} DOCSRCDIR1= ${WRKSRC} DOC_FILES1= README.txt index.html --MP_/B8ZQ/L0PpScvGOF/oJ6ofYh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301160110.r0G1A06v043729>