1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Cleanup objformat-removal fallout

- Use USE_LDCONFIG

Approved by:	portmgr (pav; implicit)
This commit is contained in:
Emanuel Haupt 2007-03-29 12:50:00 +00:00
parent 8007f86ade
commit 9a998dea98
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188751
4 changed files with 16 additions and 0 deletions

View File

@ -25,9 +25,13 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= CPPFLAGS="${CPPFLAGS}"
USE_AUTOTOOLS= autoconf:259
CPPFLAGS+= "-I${LOCALBASE}/include"
USE_LDCONFIG= yes
PLIST_FILES= lib/xmms/Input/libxmms-mac.so
post-patch:
@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/aclocal.m4
do-install:
${INSTALL_DATA} ${WRKSRC}/src/.libs/libxmms-mac.so ${PREFIX}/lib/xmms/Input

View File

@ -25,7 +25,11 @@ USE_X_PREFIX= yes
USE_GNOME= gtk12
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} -L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -21,6 +21,7 @@ LIB_DEPENDS?= xmms.4:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS+= modplug.0:${PORTSDIR}/audio/libmodplug
USE_X_PREFIX= yes
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
PLUGDIR?= lib/xmms/Input
PLIST_FILES= ${PLUGDIR}/libmodplugxmms.so
@ -31,6 +32,9 @@ PLIST_FILES= ${PLUGDIR}/libmodplugxmms.so
BROKEN= Does not compile on FreeBSD 4.x
.endif
post-patch:
@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/modplugxmms/.libs/libmodplugxmms.so ${PREFIX}/${PLUGDIR}/

View File

@ -20,9 +20,13 @@ LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
USE_X_PREFIX= yes
USE_GNOME= gtk12
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
PLIST_FILES= lib/xmms/Output/libnas.a \
lib/xmms/Output/libnas.la \
lib/xmms/Output/libnas.so
post-patch:
@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/ltconfig
.include <bsd.port.mk>