Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Dec 2014 01:35:29 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375510 - in head/deskutils/xneur: . files
Message-ID:  <201412250135.sBP1ZT75076750@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Dec 25 01:35:28 2014
New Revision: 375510
URL: https://svnweb.freebsd.org/changeset/ports/375510
QAT: https://qat.redports.org/buildarchive/r375510/

Log:
  Replace gnomhack by pathfix
  Use post-patch to cleanup the configure script instead of a patch
  Strip binaries

Deleted:
  head/deskutils/xneur/files/patch-configure
Modified:
  head/deskutils/xneur/Makefile

Modified: head/deskutils/xneur/Makefile
==============================================================================
--- head/deskutils/xneur/Makefile	Thu Dec 25 01:32:28 2014	(r375509)
+++ head/deskutils/xneur/Makefile	Thu Dec 25 01:35:28 2014	(r375510)
@@ -14,8 +14,7 @@ COMMENT=	Auto keyboard switcher
 LIB_DEPENDS=	libnotify.so:${PORTSDIR}/devel/libnotify \
 		libpcre.so:${PORTSDIR}/devel/pcre
 
-USES=		pkgconfig iconv tar:bzip2 libtool
-USE_GNOME=	gnomehack
+USES=		pathfix pkgconfig iconv tar:bzip2 libtool
 GNU_CONFIGURE=	yes
 LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
@@ -23,6 +22,7 @@ CONFIGURE_ARGS=	--disable-static --libdi
 
 USE_LDCONFIG=	yes
 INSTALLS_ICONS=	yes
+INSTALL_TARGET=	install-strip
 
 OPTIONS_DEFINE=	ASPELL XOSD NLS X11
 OPTIONS_DEFAULT=	GSTREAMER ASPELL
@@ -73,6 +73,7 @@ CONFIGURE_ARGS+=	--without-xosd
 .endif
 
 post-patch:
+	@${REINPLACE_CMD} -e 's,-Werror,,g; s,-ldl,,g' ${WRKSRC}/configure
 	@${MV} ${WRKSRC}/etc/xneurrc ${WRKSRC}/etc/xneurrc.sample
 
 .include <bsd.port.mk>



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