Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2014 16:53:05 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360775 - in head/sysutils: lineak-defaultplugin lineak-xosdplugin lineakd
Message-ID:  <201407051653.s65Gr5s6046761@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sat Jul  5 16:53:05 2014
New Revision: 360775
URL: http://svnweb.freebsd.org/changeset/ports/360775
QAT: https://qat.redports.org/buildarchive/r360775/

Log:
  - 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.

Modified:
  head/sysutils/lineak-defaultplugin/Makefile
  head/sysutils/lineak-xosdplugin/Makefile
  head/sysutils/lineakd/Makefile
  head/sysutils/lineakd/pkg-plist

Modified: head/sysutils/lineak-defaultplugin/Makefile
==============================================================================
--- head/sysutils/lineak-defaultplugin/Makefile	Sat Jul  5 16:38:48 2014	(r360774)
+++ head/sysutils/lineak-defaultplugin/Makefile	Sat Jul  5 16:53:05 2014	(r360775)
@@ -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

Modified: head/sysutils/lineak-xosdplugin/Makefile
==============================================================================
--- head/sysutils/lineak-xosdplugin/Makefile	Sat Jul  5 16:38:48 2014	(r360774)
+++ head/sysutils/lineak-xosdplugin/Makefile	Sat Jul  5 16:53:05 2014	(r360775)
@@ -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/xosdplu
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|"-O2 $$CXXFLAGS"|"$$CXXFLAGS"| ; \
-		 s|echo aout|echo elf| ; \
 		 /LDFLAGS/s|-ldl||' ${WRKSRC}/configure
 
 .include <bsd.port.mk>

Modified: head/sysutils/lineakd/Makefile
==============================================================================
--- head/sysutils/lineakd/Makefile	Sat Jul  5 16:38:48 2014	(r360774)
+++ head/sysutils/lineakd/Makefile	Sat Jul  5 16:53:05 2014	(r360775)
@@ -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
 

Modified: head/sysutils/lineakd/pkg-plist
==============================================================================
--- head/sysutils/lineakd/pkg-plist	Sat Jul  5 16:38:48 2014	(r360774)
+++ head/sysutils/lineakd/pkg-plist	Sat Jul  5 16:53:05 2014	(r360775)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407051653.s65Gr5s6046761>