bed9a1e1ce
which are provided by the base version 1.11 anyway. Trim pkg-plist and bump PORTREVISION yet again. Do not extract/patch/compile the functions (getopt/getopt_long/getline), which are provided by libc. This unbreaks the port, because it was the conflict in declaration of getline(3), which caused the breakage in the first place.
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
# $MCom: ports/devel/gcvs/Makefile,v 1.1 2006/10/07 17:10:25 ahze Exp $
|
|
|
|
PORTNAME= gcvs
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 14
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel tk
|
|
MASTER_SITES= SF/cvsgui/gCvs/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= High-end interface client for CVS
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_GNOME= gtk12
|
|
USE_TCL_BUILD= yes
|
|
USE_TCL_WRAPPER=yes
|
|
USE_TK_WRAPPER= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= aclocal autoheader automake autoconf
|
|
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
|
|
AUTOMAKE_ARGS= --add-missing --force --copy --gnu
|
|
GNU_CONFIGURE= yes
|
|
CXXFLAGS:= ${CXXFLAGS:N-std=*:N:}
|
|
CONFIGURE_ARGS= --with-tclinclude=${TCL_INCLUDEDIR} \
|
|
--with-tcllib=${TCL_LIBDIR}
|
|
MAKE_JOBS_SAFE= yes
|
|
EXTRACT_AFTER_ARGS=|${TAR} -xpf - \
|
|
--exclude cvsunix --exclude 'getline.[ch]' --exclude 'getopt*.[ch]'
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -E '/get(line|opt1?)\.[ch]/d' \
|
|
${WRKSRC}/common/Makefile.am
|
|
${FIND} ${WRKSRC} -name '*.c*' | ${XARGS} ${REINPLACE_CMD} -E \
|
|
-e '/#include "getline\.h"/d' \
|
|
-e 's/"getopt\.h"/<getopt.h>/'
|
|
${REINPLACE_CMD} 's/cvsunix//g' \
|
|
${WRKSRC}/Makefile.am ${WRKSRC}/configure.in
|
|
|
|
.include <bsd.port.mk>
|