Date: Thu, 13 Dec 2012 21:48:41 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308872 - in head/sysutils/lineak-xosdplugin: . files Message-ID: <201212132148.qBDLmfP0020927@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Thu Dec 13 21:48:41 2012 New Revision: 308872 URL: http://svnweb.freebsd.org/changeset/ports/308872 Log: - Fix build with clang - Remove ABI version numbers from LIB_DEPENDS - Trim Makefile headers PR: ports/174196 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Deleted: head/sysutils/lineak-xosdplugin/files/ Modified: head/sysutils/lineak-xosdplugin/Makefile (contents, props changed) Modified: head/sysutils/lineak-xosdplugin/Makefile ============================================================================== --- head/sysutils/lineak-xosdplugin/Makefile Thu Dec 13 21:40:51 2012 (r308871) +++ head/sysutils/lineak-xosdplugin/Makefile Thu Dec 13 21:48:41 2012 (r308872) @@ -1,9 +1,5 @@ -# New ports collection makefile for: lineak-xosdplugin -# Date created: 2004-12-29 -# Whom: Kay Lehmann <kay_lehmann@web.de> -# +# Created by: Kay Lehmann <kay_lehmann@web.de> # $FreeBSD$ -# PORTNAME= lineak-xosdplugin PORTVERSION= 0.9 @@ -15,25 +11,30 @@ DIST_SUBDIR= lineak MAINTAINER= ports@FreeBSD.org COMMENT= Xosd-plugin for lineakd -LIB_DEPENDS= lineak.8:${PORTSDIR}/sysutils/lineakd \ - xosd.4:${PORTSDIR}/misc/xosd +LICENSE= GPLv2 + +LIB_DEPENDS= xosd:${PORTSDIR}/misc/xosd \ + lineak:${PORTSDIR}/sysutils/lineakd -USE_GMAKE= yes USE_XORG= x11 xext xt -CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -CONFIGURE_ARGS= --program-prefix='' +USE_GMAKE= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= ac_cv_path_xosd_config_script="${TRUE}" USE_LDCONFIG= yes +MAKE_JOBS_SAFE= yes + +CFLAGS+= -fPIC +CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} MAN1= lineak_xosdplugin.1 -MAN_COMPRESSED= yes PLIST_FILES= lib/lineakd/plugins/xosdplugin.la \ lib/lineakd/plugins/xosdplugin.so post-patch: - @${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|"-O2 $$CXXFLAGS"|"$$CXXFLAGS"| ; \ + s|echo aout|echo elf| ; \ + /LDFLAGS/s|-ldl||' ${WRKSRC}/configure .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212132148.qBDLmfP0020927>