7f0021a80a
- Add kde_cv_prog_cxx_fno_check_new=no to CONFIGURE_ARGS because -fno-check-new is not supported by Clang and that causes the -fPIC configure test to fail.
34 lines
877 B
Makefile
34 lines
877 B
Makefile
# Created by: Kay Lehmann <kay_lehmann@web.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lineak-defaultplugin
|
|
PORTVERSION= 0.9
|
|
PORTREVISION= 4
|
|
CATEGORIES= sysutils deskutils
|
|
MASTER_SITES= SF/lineak/lineak_defaultplugin/${PORTNAME}-${PORTVERSION}
|
|
DIST_SUBDIR= lineak
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Default plugins for lineakd
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= liblineak.so:${PORTSDIR}/sysutils/lineakd
|
|
|
|
USES= gmake libtool
|
|
USE_XORG= x11 xext xt xtst xfixes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= kde_cv_prog_cxx_fno_check_new=no
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= lib/lineakd/plugins/defaultplugin.so \
|
|
lib/lineakd/plugins/mediadetectplugin.so \
|
|
man/man1/lineak_defaultplugin.1.gz \
|
|
etc/media-detect.conf
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|