mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Convert to USES=libtool
- 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.
This commit is contained in:
parent
101a62f1f2
commit
7f0021a80a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360775
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= lineak-defaultplugin
|
||||
PORTVERSION= 0.9
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= sysutils deskutils
|
||||
MASTER_SITES= SF/lineak/lineak_defaultplugin/${PORTNAME}-${PORTVERSION}
|
||||
DIST_SUBDIR= lineak
|
||||
@ -13,21 +13,16 @@ COMMENT= Default plugins for lineakd
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= lineak:${PORTSDIR}/sysutils/lineakd
|
||||
LIB_DEPENDS= liblineak.so:${PORTSDIR}/sysutils/lineakd
|
||||
|
||||
USE_AUTOTOOLS= libtool
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gmake libtool
|
||||
USE_XORG= x11 xext xt xtst xfixes
|
||||
USES= gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= kde_cv_prog_cxx_fno_check_new=no
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ARGS+= --program-prefix=''
|
||||
|
||||
PLIST_FILES= lib/lineakd/plugins/defaultplugin.a \
|
||||
lib/lineakd/plugins/defaultplugin.la \
|
||||
lib/lineakd/plugins/defaultplugin.so \
|
||||
lib/lineakd/plugins/mediadetectplugin.a \
|
||||
lib/lineakd/plugins/mediadetectplugin.la \
|
||||
PLIST_FILES= lib/lineakd/plugins/defaultplugin.so \
|
||||
lib/lineakd/plugins/mediadetectplugin.so \
|
||||
man/man1/lineak_defaultplugin.1.gz \
|
||||
etc/media-detect.conf
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= lineak-xosdplugin
|
||||
PORTVERSION= 0.9
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= sysutils deskutils
|
||||
MASTER_SITES= SF/lineak/lineak_xosdplugin/${PORTNAME}-${PORTVERSION}
|
||||
DIST_SUBDIR= lineak
|
||||
@ -16,13 +16,12 @@ LICENSE= GPLv2
|
||||
LIB_DEPENDS= libxosd.so:${PORTSDIR}/misc/xosd \
|
||||
liblineak.so:${PORTSDIR}/sysutils/lineakd
|
||||
|
||||
USE_XORG= x11 xext xt
|
||||
USES= gmake libtool
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= ac_cv_path_xosd_config_script="${TRUE}"
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CFLAGS+= -fPIC
|
||||
USE_XORG= x11 xext xt
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= ac_cv_path_xosd_config_script="${TRUE}" \
|
||||
kde_cv_prog_cxx_fno_check_new=no
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
@ -32,7 +31,6 @@ PLIST_FILES= lib/lineakd/plugins/xosdplugin.so \
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|"-O2 $$CXXFLAGS"|"$$CXXFLAGS"| ; \
|
||||
s|echo aout|echo elf| ; \
|
||||
/LDFLAGS/s|-ldl||' ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= lineakd
|
||||
PORTVERSION= 0.9
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF/lineak/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
DIST_SUBDIR= lineak
|
||||
@ -11,14 +11,13 @@ DIST_SUBDIR= lineak
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Lineakd is a daemon which enables special keys on internet keyboards
|
||||
|
||||
USES= gmake
|
||||
USES= gmake libtool
|
||||
USE_LDCONFIG= yes
|
||||
USE_XORG= x11 xext xt
|
||||
USE_AUTOTOOLS= libtool
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= kde_cv_prog_cxx_fno_check_new=no
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CONFIGURE_ARGS+=--program-prefix=''
|
||||
|
||||
DOCS= README TODO AUTHORS
|
||||
|
||||
|
@ -25,9 +25,9 @@ include/lineak/pluginmanager.h
|
||||
include/lineak/saver.h
|
||||
include/lineak/xmgr.h
|
||||
lib/liblineak.a
|
||||
lib/liblineak.la
|
||||
lib/liblineak.so
|
||||
lib/liblineak.so.8
|
||||
lib/liblineak.so.0
|
||||
lib/liblineak.so.0.8.0
|
||||
man/man1/lineakd.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
|
Loading…
Reference in New Issue
Block a user