ports/175262: [MAINTAINER] audio/portaudio2: Changed UNIQUENAME to portaudio2
nemysis
nemysis at gmx.ch
Wed Jan 16 01:10:01 UTC 2013
The following reply was made to PR ports/175262; it has been noted by GNATS.
From: nemysis <nemysis at gmx.ch>
To: bug-followup at FreeBSD.org, makc at 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--
More information about the freebsd-ports-bugs
mailing list