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

(-)Makefile (-7 / +5 lines)
Lines 15-28 Link Here
15
MAINTAINER=	perky@FreeBSD.org
15
MAINTAINER=	perky@FreeBSD.org
16
COMMENT=	X On-Screen-Display Library and XMMS plug-in
16
COMMENT=	X On-Screen-Display Library and XMMS plug-in
17
17
18
LIB_DEPENDS=	gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
19
20
XMMS_CONFIG?=	${X11BASE}/bin/xmms-config
18
XMMS_CONFIG?=	${X11BASE}/bin/xmms-config
21
USE_BZIP2=	yes
19
USE_BZIP2=	yes
22
USE_GETOPT_LONG=yes
20
USE_GETOPT_LONG=yes
23
USE_X_PREFIX=	yes
21
USE_X_PREFIX=	yes
24
USE_GMAKE=	yes
22
USE_GMAKE=	yes
25
USE_GNOME=	gtk12
26
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
27
INSTALLS_SHLIB=	yes
24
INSTALLS_SHLIB=	yes
28
USE_REINPLACE=	yes
25
USE_REINPLACE=	yes
Lines 44-50 Link Here
44
.include <bsd.port.pre.mk>
41
.include <bsd.port.pre.mk>
45
42
46
.if !defined(WITHOUT_XMMS)
43
.if !defined(WITHOUT_XMMS)
47
LIB_DEPENDS+=	xmms.4:${PORTSDIR}/multimedia/xmms
44
LIB_DEPENDS+=	xmms.4:${PORTSDIR}/multimedia/xmms \
45
		gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
48
PLIST_SUB=	WITH_XMMS=""
46
PLIST_SUB=	WITH_XMMS=""
49
.else
47
.else
50
CONFIGURE_ARGS=	--disable-new-plugin
48
CONFIGURE_ARGS=	--disable-new-plugin
Lines 52-61 Link Here
52
.endif
50
.endif
53
51
54
pre-patch:
52
pre-patch:
55
	${REINPLACE_CMD} -e 's,-lc_r,-lblahblah,g' ${WRKSRC}/ltmain.sh
53
	@${REINPLACE_CMD} -e 's,-lc_r,-lblahblah,g' ${WRKSRC}/ltmain.sh
56
	${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure
54
	@${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure
57
.for f in src/libxosd/Makefile.in src/xmms_plugin/Makefile.in
55
.for f in src/libxosd/Makefile.in src/xmms_plugin/Makefile.in
58
	${REINPLACE_CMD} -e 's,^\(CFLAGS =\)\(.*\)$$,\1 -I.. \2,g' ${WRKSRC}/$f
56
	@${REINPLACE_CMD} -e 's,^\(CFLAGS =\)\(.*\)$$,\1 -I.. \2,g' ${WRKSRC}/$f
59
.endfor
57
.endfor
60
58
61
.include <bsd.port.post.mk>
59
.include <bsd.port.post.mk>

Return to bug 92347