x11-wm/compiz-plugins-unsupported: minor fixes

- Fix build without NLS
- Remove unneeded gl dependency
- Switch to USES=localbase
- Remove redundant OPTIONS_DEFAULT=NLS

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2021-04-12 22:27:42 +03:00
parent 0b75f8d881
commit 480905c5f1

View file

@ -23,8 +23,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= gl gmake gnome libtool:keepla pathfix pkgconfig tar:bzip2 xorg
USE_GL= yes
USES= gettext-tools gmake gnome libtool:keepla localbase:ldflags pathfix \
pkgconfig tar:bzip2 xorg
USE_GNOME= gconf2 intltool libxslt
USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama xorgproto xrandr
USE_LDCONFIG= yes
@ -37,14 +37,11 @@ GCONF_SCHEMAS= compiz-atlantis.schemas \
compiz-snow.schemas \
compiz-tile.schemas
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-schemas
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT= NLS
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime gettext-tools
NLS_USES= gettext-runtime
.include <bsd.port.mk>