svn commit: r375510 - in head/deskutils/xneur: . files

Baptiste Daroussin bapt at FreeBSD.org
Thu Dec 25 01:35:30 UTC 2014


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>


More information about the svn-ports-head mailing list