1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Remove unused LIBTOOLFLAGS

- Replace some LIB_DEPENDS with USE_GNOME components
- Replace CONFIGURE_ENV about missing link with post-patch command
This commit is contained in:
Tijl Coosemans 2014-09-13 19:53:18 +00:00
parent 4ecf39fc95
commit a24f725522
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368133

View File

@ -11,23 +11,19 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gahr@FreeBSD.org
COMMENT= Program for finding and playing free music from the Internet
LIB_DEPENDS= libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \
libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \
libgconfmm-2.6.so:${PORTSDIR}/devel/gconfmm26 \
libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26 \
libvorbis.so:${PORTSDIR}/audio/libvorbis \
LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \
libao.so:${PORTSDIR}/audio/libao
USES= pathfix pkgconfig libtool
GNU_CONFIGURE= yes
USE_GNOME= gnomeprefix
USE_GNOME= gconfmm26 gnomeprefix gtkmm24
USE_LDCONFIG= yes
LIBTOOLFLAGS= --tag=CXX
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= LIBS="`pkg-config --libs glibmm-2.4`"
LIBS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} '/^rainbow_get_LDADD =/s/$$/ $$(RAINBOW_LIBS)/' \
${WRKSRC}/rainbow/Makefile.in
@${REINPLACE_CMD} -e 's|CCLD = $$(CC)|CCLD = $$(CXX)|' \
${WRKSRC}/roboradio/mp3/Makefile.in
@${REINPLACE_CMD} -e 's|static char|static const char|' \