View | Details | Raw Unified | Return to bug 185515
Collapse All | Expand All

(-)audio/bmp-mac/Makefile (-12 / +16 lines)
Lines 12-34 Link Here
12
MAINTAINER=	ports@FreeBSD.org
12
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Monkey's Audio Codec non-win32 port
13
COMMENT=	Monkey's Audio Codec non-win32 port
14
14
15
LIB_DEPENDS=	libbeep.so:${PORTSDIR}/multimedia/beep-media-player \
15
LIB_DEPENDS=	libmac.so:${PORTSDIR}/audio/mac \
16
		libmac.so:${PORTSDIR}/audio/mac
16
		libbeep.so:${PORTSDIR}/multimedia/beep-media-player
17
17
18
USES=		gmake pkgconfig
18
USES=		gmake pkgconfig
19
GNU_CONFIGURE=	yes
19
USE_AUTOTOOLS=	libtoolize aclocal automake autoconf
20
USE_AUTOTOOLS=	autoconf libtool
20
LIBTOOLIZE_ARGS=--force --copy 
21
CPPFLAGS+=	"-I${LOCALBASE}/include"
21
AUTOMAKE_ARGS=	--add-missing --copy 
22
PLUGDIR=	lib/bmp/Input
22
23
PLUGFILE=	lib${PKGNAMEPREFIX}${PORTNAME}.so
23
CPPFLAGS+=	-I${LOCALBASE}/include
24
PLIST_FILES=	${PLUGDIR}/${PLUGFILE}
24
LDFLAGS+=	-L${LOCALBASE}/lib
25
26
PLIST_FILES=	lib/bmp/Input/libbmp-mac.so
25
27
26
post-patch:
28
post-patch:
27
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
29
	@${REINPLACE_CMD} -e \
28
		's|-D.*_DISABLE_DEPRECATED||g'
30
		's|-D.*_DISABLE_DEPRECATED|| ; \
31
		 s|@BMP_LIBS@|@GTK_LIBS@|' ${WRKSRC}/src/Makefile.am
29
32
30
do-install:
33
do-install:
31
	@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGDIR}
34
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/bmp/Input
32
	${INSTALL_LIB} ${WRKSRC}/src/.libs/${PLUGFILE} ${STAGEDIR}${PREFIX}/${PLUGDIR}/
35
	(cd ${WRKSRC}/src/.libs && ${INSTALL_LIB} libbmp-mac.so \
36
		${STAGEDIR}${PREFIX}/lib/bmp/Input)
33
37
34
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)audio/bmp-mac/files/patch-configure.in (-3 / +6 lines)
Lines 1-11 Link Here
1
--- configure.in.orig	Tue Jan 17 23:49:11 2006
1
--- configure.in.orig	Tue Jan 17 23:49:11 2006
2
+++ configure.in	Tue Jan 17 23:49:55 2006
2
+++ configure.in	Tue Jan 17 23:49:55 2006
3
@@ -62,7 +62,7 @@
3
@@ -62,9 +62,9 @@
4
 
4
 
5
 AC_CHECK_LIB(mac, DecompressFile, [])
5
 AC_CHECK_LIB(mac, DecompressFile, [])
6
 
6
 
7
-#MAC_LIBS="-lmac"
7
-#MAC_LIBS="-lmac"
8
+MAC_LIBS="-lmac -lpthread"
8
+MAC_LIBS="-lmac -pthread"
9
 #MAC_INCLUDES="-I/usr/include/mac"
9
 #MAC_INCLUDES="-I/usr/include/mac"
10
 MAC_CXXFLAGS="-s -O3 -Wall -pedantic -DBUILD_CROSS_PLATFORM"
10
-MAC_CXXFLAGS="-s -O3 -Wall -pedantic -DBUILD_CROSS_PLATFORM"
11
+MAC_CXXFLAGS="-DBUILD_CROSS_PLATFORM"
11
 
12
 
13
 AC_SUBST(MAC_LIBS)
14
 AC_SUBST(MAC_CXXFLAGS)

Return to bug 185515