git: df78603da1d3 - main - x11-wm/compiz-plugins-extra: minor fixes

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Apr 13 16:19:15 UTC 2021


The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=df78603da1d3bd1b518bc3199c27d5e67e7b76ab

commit df78603da1d3bd1b518bc3199c27d5e67e7b76ab
Author:     Dmitry Marakasov <amdmi3 at FreeBSD.org>
AuthorDate: 2021-04-12 19:36:03 +0000
Commit:     Dmitry Marakasov <amdmi3 at FreeBSD.org>
CommitDate: 2021-04-13 16:18:05 +0000

    x11-wm/compiz-plugins-extra: minor fixes
    
    - Switch to USES=localbase
    - Optionize NLS
    - Add WWW
    
    Approved by:    portmgr blanket
---
 x11-wm/compiz-plugins-extra/Makefile  | 8 +++++---
 x11-wm/compiz-plugins-extra/pkg-descr | 2 ++
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/x11-wm/compiz-plugins-extra/Makefile b/x11-wm/compiz-plugins-extra/Makefile
index 24c51fa2cc41..0c75814a112a 100644
--- a/x11-wm/compiz-plugins-extra/Makefile
+++ b/x11-wm/compiz-plugins-extra/Makefile
@@ -22,7 +22,7 @@ BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz \
 		${LOCALBASE}/libdata/pkgconfig/compiz-text.pc:x11-wm/compiz-plugins-main
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-USES=		gettext-runtime gettext-tools gmake gl gnome libtool:keepla \
+USES=		gettext-tools gmake gl gnome libtool:keepla localbase:ldflags \
 		pathfix pkgconfig tar:bzip2 xorg
 USE_GL=		glu
 USE_CSTD=	gnu89
@@ -30,8 +30,6 @@ USE_GNOME=	gconf2 gdkpixbuf2 intltool libxslt
 USE_XORG=	ice sm x11 xcomposite xdamage xext xfixes xinerama xorgproto xrandr xrender
 USE_LDCONFIG=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--enable-schemas
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
@@ -63,6 +61,10 @@ GCONF_SCHEMAS=	compiz-3d.schemas \
 		compiz-wallpaper.schemas \
 		compiz-widget.schemas
 
+OPTIONS_DEFINE=	NLS
+NLS_USES=	gettext-runtime
+NLS_CONFIGURE_ENABLE=	nls
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|'	\
 		${WRKSRC}/src/group/group-internal.h	\
diff --git a/x11-wm/compiz-plugins-extra/pkg-descr b/x11-wm/compiz-plugins-extra/pkg-descr
index a9668971ae30..2f7fab15a38e 100644
--- a/x11-wm/compiz-plugins-extra/pkg-descr
+++ b/x11-wm/compiz-plugins-extra/pkg-descr
@@ -1 +1,3 @@
 This is the extra set of plugins for Compiz fusion.
+
+WWW: https://gitlab.com/compiz/compiz-plugins-extra


More information about the dev-commits-ports-all mailing list