svn commit: r339206 - head/x11-toolkits/libsexy

Rusmir Dusko nemysis at FreeBSD.org
Thu Jan 9 08:53:20 UTC 2014


Author: nemysis
Date: Thu Jan  9 08:53:19 2014
New Revision: 339206
URL: http://svnweb.freebsd.org/changeset/ports/339206

Log:
  - Use the new format for LIB_DEPENDS
  - Support STAGEDIR
  - Add REINPLACE_CMD, fix deprecated code

Modified:
  head/x11-toolkits/libsexy/Makefile

Modified: head/x11-toolkits/libsexy/Makefile
==============================================================================
--- head/x11-toolkits/libsexy/Makefile	Thu Jan  9 08:49:35 2014	(r339205)
+++ head/x11-toolkits/libsexy/Makefile	Thu Jan  9 08:53:19 2014	(r339206)
@@ -12,15 +12,18 @@ COMMENT=	Extension widgets for GTK+
 
 LICENSE=	LGPL21
 
+LIB_DEPENDS=	libenchant.so:${PORTSDIR}/textproc/enchant
 BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
-LIB_DEPENDS=	enchant:${PORTSDIR}/textproc/enchant
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
+USES=		pkgconfig gettext
+GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	libtool
 USE_GNOME=	gnomehack lthack gtk20 libxml2
 USE_LDCONFIG=	yes
-USES=		pkgconfig gettext
-GNU_CONFIGURE=	yes
 
-NO_STAGE=	yes
+post-patch:
+	@${REINPLACE_CMD} -e 's|g_strncasecmp|g_ascii_strncasecmp|' \
+		${WRKSRC}/libsexy/sexy-spell-entry.c
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list