mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
- Don't install false hope pkg-config files since some programs detect if
the lib is installed via pkg-config files.[1] - s/INSTALLS_SHLIB/USE_LDCONFIG PR: ports/102847[1] Submitted by: ahze[1]
This commit is contained in:
parent
207b64752e
commit
c4be907bd4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172183
@ -6,6 +6,7 @@
|
||||
|
||||
PORTNAME= libcdio
|
||||
PORTVERSION= 0.77
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= libcdio
|
||||
@ -20,7 +21,7 @@ GNU_CONFIGURE= yes
|
||||
USE_GNOME= gnometarget pkgconfig gnomehack
|
||||
USE_GMAKE= yes
|
||||
USE_ICONV= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LDCONFIG= yes
|
||||
CONFIGURE_ARGS+= --with-libpopt-prefix=${LOCALBASE} \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
USE_PERL5_BUILD=yes
|
||||
@ -42,6 +43,10 @@ PLIST_SUB+= PARANOIA="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.ifndef(WITH_PARANOIA)
|
||||
${REINPLACE_CMD} -e 's|libcdio_paranoia.pc||; s|libcdio_cdda.pc||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
${REINPLACE_CMD} -e "s,freebsd5\.\*,freebsd5\.\*|freebsd6\.\*|freebsd7\.\*," ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -73,8 +73,8 @@ lib/libudf.la
|
||||
lib/libudf.so
|
||||
lib/libudf.so.0
|
||||
libdata/pkgconfig/libcdio.pc
|
||||
libdata/pkgconfig/libcdio_cdda.pc
|
||||
libdata/pkgconfig/libcdio_paranoia.pc
|
||||
%%PARANOIA%%libdata/pkgconfig/libcdio_cdda.pc
|
||||
%%PARANOIA%%libdata/pkgconfig/libcdio_paranoia.pc
|
||||
libdata/pkgconfig/libiso9660.pc
|
||||
@dirrm include/cdio
|
||||
@dirrm include/cdio++
|
||||
|
Loading…
Reference in New Issue
Block a user