Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 08:32:27 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362875 - head/polish/ekg2
Message-ID:  <201407250832.s6P8WRqT010326@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Jul 25 08:32:27 2014
New Revision: 362875
URL: http://svnweb.freebsd.org/changeset/ports/362875
QAT: https://qat.redports.org/buildarchive/r362875/

Log:
  - Fix build on current
  - Reword options descriptions to current standards
  - Use CONFIGURE_WITH helper

Modified:
  head/polish/ekg2/Makefile

Modified: head/polish/ekg2/Makefile
==============================================================================
--- head/polish/ekg2/Makefile	Fri Jul 25 07:43:01 2014	(r362874)
+++ head/polish/ekg2/Makefile	Fri Jul 25 08:32:27 2014	(r362875)
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libgadu.so:${PORTSDIR}/poli
 LICENSE=	GPLv2
 
 GNU_CONFIGURE=	yes
-USES=		gmake iconv pathfix pkgconfig libtool
+USES=		gmake iconv libtool pathfix pkgconfig readline
 
 CONFIGURE_ARGS+=	--enable-shared \
 			--disable-static \
@@ -38,65 +38,53 @@ OPTIONS_DEFINE=	ASPELL GPG GSM GTK2 NLS 
 OPTIONS_DEFAULT=ASPELL
 OPTIONS_SUB=	yes
 
-ASPELL_DESC=	Enable spell checking support
-GPG_DESC=	Enable gpg plugin
-GSM_DESC=	Enable gsm audio plugin
-GTK2_DESC=	Enable gtk plugin
-PERL_DESC=	Enable perl plugin
-PYTHON_DESC=	Enable python plugin
-SQLITE_DESC=	Enable sqlite plugin
-UNICODE_DESC=	Enable unicode (experimental)
-XOSD_DESC=	Enable xosd plugin
+GPG_DESC=	GPG plugin
+GSM_DESC=	GSM audio plugin
+GTK2_DESC=	GTK+ 2 plugin
+PERL_DESC=	Perl plugin
+PYTHON_DESC=	Python plugin
+SQLITE_DESC=	SQLite plugin
+UNICODE_DESC=	Unicode support (experimental)
+XOSD_DESC=	Xosd plugin
 
-ASPELL_CONFIGURE_ON=	--with-aspell
-ASPELL_CONFIGURE_OFF=	--without-aspell
+ASPELL_CONFIGURE_WITH=	aspell
 ASPELL_LIB_DEPENDS=	libaspell.so:${PORTSDIR}/textproc/aspell
 ASPELL_RUN_DEPENDS=	${LOCALBASE}/share/aspell/pl.rws:${PORTSDIR}/polish/aspell
 
-GPG_CONFIGURE_ON=	--with-gpg
-GPG_CONFIGURE_OFF=	--without-gpg
+GPG_CONFIGURE_WITH=	gpg
 GPG_LIB_DEPENDS=	libgpgme.so:${PORTSDIR}/security/gpgme \
 			libgpg-error.so:${PORTSDIR}/security/libgpg-error
 GPG_RUN_DEPENDS=	gpg:${PORTSDIR}/security/gnupg
 
-GSM_CONFIGURE_ON=	--with-libgsm
-GSM_CONFIGURE_OFF=	--without-libgsm
+GSM_CONFIGURE_WITH=	libgsm
 GSM_LIB_DEPENDS=	libgsm.so:${PORTSDIR}/audio/gsm
 
-GTK2_CONFIGURE_ON=	--with-gtk
-GTK2_CONFIGURE_OFF=	--without-gtk
+GTK2_CONFIGURE_WITH=	gtk
+GTK2_USE=		GNOME=gtk2
 
 NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=		gettext
 
-PERL_CONFIGURE_ON=	--with-perl
-PERL_CONFIGURE_OFF=	--without-perl
+PERL_CONFIGURE_WITH=	perl
 PERL_USES=		perl5
 
-PYTHON_CONFIGURE_ON=	--with-python
-PYTHON_CONFIGURE_OFF=	--without-python
+PYTHON_CONFIGURE_WITH=	python
+PYTHON_USE=		PYTHON=yes
 
-SQLITE_CONFIGURE_ON=	--with-sqlite3
-SQLITE_CONFIGURE_OFF=	--without-sqlite3
+SQLITE_CONFIGURE_WITH=	sqlite3
 SQLITE_LIB_DEPENDS=	libsqlite3.so:${PORTSDIR}/databases/sqlite3
 
-UNICODE_CONFIGURE_ON=	--enable-unicode
+UNICODE_CONFIGURE_ENABLE=	unicode
 
-XOSD_CONFIGURE_ON=	--with-libxosd
-XOSD_CONFIGURE_OFF=	--without-libxosd
+XOSD_CONFIGURE_WITH=	libxosd
 XOSD_LIB_DEPENDS=	libxosd.so:${PORTSDIR}/misc/xosd
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MGTK2}
-USE_GNOME+=	gtk20
-.endif
-
-.if ${PORT_OPTIONS:MPYTHON}
-USE_PYTHON=	yes
-.endif
-
 post-patch:
+# needs newer headers for O_NOFOLLOW flag
+	@${REINPLACE_CMD} '/_XOPEN_SOURCE/ s|600|700|' \
+		${WRKSRC}/plugins/xmsg/xmsg.c
 .if ${PORT_OPTIONS:MPYTHON}
 	@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' \
 		${WRKSRC}/contrib/python/notify-bubble.py



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