pkgsrc/devel/gcvs/Makefile
2021-05-24 19:49:01 +00:00

38 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.48 2021/05/24 19:49:56 wiz Exp $
DISTNAME= gcvs-1.0
PKGREVISION= 16
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cvsgui/}
# extra distfile containing an updated configure script
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gcvs-1.0-configure.tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cvsgui.sourceforge.net/
COMMENT= GTK interface for CVS
CONFLICTS= cvs-[0-9]*
USE_LANGUAGES= c c++
USE_TOOLS+= gmake makeinfo perl:run
GNU_CONFIGURE= yes
INFO_FILES= yes
CONFIGURE_ARGS+= --with-tclinclude="${BUILDLINK_PREFIX.tcl}/include"
CONFIGURE_ARGS+= --with-tcllib="${BUILDLINK_PREFIX.tcl}/lib"
CONFIGURE_ARGS+= perl_path=${PERL5}
CPPFLAGS+= -DUSE_INTERP_RESULT
# Uh oh, Pascal-style strings with undefined behavior for length >= 128.
# ../rf/ustr.h: In member function 'bool UPStr::endsWith(char) const':
# ../rf/ustr.h:96:75: error: array subscript has type 'char' [-Werror=char-subscripts]
# inline bool endsWith(char c) const {return str == 0L ? false : str[str[0]] == c;}
# ^
# Maybe fix this later.
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"