From d070ef7a9d8a45bab9e3fb0cfbd58089503deb6f Mon Sep 17 00:00:00 2001 From: brad Date: Sun, 31 Oct 1999 18:57:37 +0000 Subject: [PATCH] - enable utmp/wtmp support - copy BUILD_DEPENDS to RUN_DEPENDS so the dependency gets registered when making a package --- x11/wterm/Makefile | 15 ++++++--------- x11/wterm/patches/patch-aa | 15 +++++++++++++++ x11/wterm/pkg/PLIST | 1 + 3 files changed, 22 insertions(+), 9 deletions(-) create mode 100644 x11/wterm/patches/patch-aa diff --git a/x11/wterm/Makefile b/x11/wterm/Makefile index 7fc53b45a12..4e9ed68b94f 100644 --- a/x11/wterm/Makefile +++ b/x11/wterm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 1999/08/30 14:23:51 brad Exp $ +# $OpenBSD: Makefile,v 1.6 1999/10/31 18:57:37 brad Exp $ DISTNAME= wterm-6.2.6 CATEGORIES= x11 @@ -7,21 +7,18 @@ MASTER_SITES= http://wm.current.nu/files/ MAINTAINER= brad@openbsd.org BUILD_DEPENDS= wmaker:${PORTSDIR}/x11/windowmaker +RUN_DEPENDS= wmaker:${PORTSDIR}/x11/windowmaker USE_X11= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-xgetdefault --enable-transparency \ - --enable-xpm-background - -# Various compile time options you may want to configure. -#CONFIGURE_ARGS+= --enable-utmp \ -# --enable-wtmp \ -# --enable-menubar - +CONFIGURE_ARGS+=--enable-utmp --enable-wtmp \ + --with-xpm --enable-xpm-background --enable-transparency \ + --enable-xgetdefault CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/wterm ${PREFIX}/bin + @chmod 4755 ${PREFIX}/bin/wterm .include diff --git a/x11/wterm/patches/patch-aa b/x11/wterm/patches/patch-aa new file mode 100644 index 00000000000..29b4a410f4f --- /dev/null +++ b/x11/wterm/patches/patch-aa @@ -0,0 +1,15 @@ +--- autoconf/config.h.in.orig Sun Oct 31 13:37:38 1999 ++++ autoconf/config.h.in Sun Oct 31 13:38:16 1999 +@@ -147,10 +147,10 @@ + #undef HAVE_UTMP_HOST + + /* Define location of utmp/utmpx */ +-#undef RXVT_UTMP_FILE ++#define RXVT_UTMP_FILE "/var/run/utmp" + + /* Define location of wtmp */ +-#undef RXVT_WTMP_FILE ++#define RXVT_WTMP_FILE "/var/log/wtmp" + + /* Define location of ttys/ttytab */ + #undef TTYTAB_FILENAME diff --git a/x11/wterm/pkg/PLIST b/x11/wterm/pkg/PLIST index b3b33886635..d892784dae3 100644 --- a/x11/wterm/pkg/PLIST +++ b/x11/wterm/pkg/PLIST @@ -1 +1,2 @@ bin/wterm +@exec chmod 4755 %D/bin/wterm