pkgsrc/x11/xterm/Makefile
bjs 2b90466ca9 Force ac_cv_lib_pcreposix_pcreposix_regcomp=yes, bump rev.
This function does not exist AFAIK in our pcre libraries, and the configure
check was failing.

A segment of nm output reads:

/usr/pkg/lib/libpcreposix.so:00000a06 T regcomp
/usr/pkg/lib/libpcreposix.so:00000abf T regerror
/usr/pkg/lib/libpcreposix.so:000007a8 T regexec
/usr/pkg/lib/libpcreposix.so:00000780 T regfree

These symbols will override those in libc:


/usr/lib/libc.so:00031be8 T _regcomp
/usr/lib/libc.so:0002fbf8 T _regerror
/usr/lib/libc.so:0002e9c2 T _regexec
/usr/lib/libc.so:0006336c T _regfree
/usr/lib/libc.so:00031be8 W regcomp
/usr/lib/libc.so:0002fbf8 W regerror
/usr/lib/libc.so:0002e9c2 W regexec
/usr/lib/libc.so:0006336c W regfree
2007-11-23 14:23:34 +00:00

61 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.37 2007/11/23 14:23:34 bjs Exp $
DISTNAME= xterm-229
CATEGORIES= x11
MASTER_SITES= ftp://invisible-island.net/xterm/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://dickey.his.com/xterm/xterm.html
COMMENT= Latest terminal emulator for the X Window System
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_DIRS+= xdg-1.4
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "modular"
CONFIGURE_ARGS+= --disable-imake --enable-narrowproto
.endif
.if exists(/usr/include/wchar.h)
CONFIGURE_ARGS+= --enable-wide-chars
.endif
.include "options.mk"
.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= --with-setuid
.endif
#.#if ${OPSYS} == "SunOS"
#INSTALL_FILE= ${WRKDIR}/INSTALL
#DEINSTALL_FILE= ${INSTALL_FILE}
pre-build:
${MKDIR} ${INSTALL_FILE:H}
${SED} -e 's#@MV@#${MV}#g' \
-e 's#@LOCALBASE@#${LOCALBASE}#g' \
-e 's#@PREFIX@#${PREFIX}#g' \
${PKGDIR}/INSTALL.openwin >${INSTALL_FILE}
pre-install:
${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL
post-install:
${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
#.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
###
### For detection of XKB bell extension.
###
BUILDLINK_DEPMETHOD.libxkbfile?= build
.include "../../x11/libxkbfile/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"