- enable utmp/wtmp support
- copy BUILD_DEPENDS to RUN_DEPENDS so the dependency gets registered when making a package
This commit is contained in:
parent
5be3b9244e
commit
d070ef7a9d
@ -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
|
DISTNAME= wterm-6.2.6
|
||||||
CATEGORIES= x11
|
CATEGORIES= x11
|
||||||
@ -7,21 +7,18 @@ MASTER_SITES= http://wm.current.nu/files/
|
|||||||
MAINTAINER= brad@openbsd.org
|
MAINTAINER= brad@openbsd.org
|
||||||
|
|
||||||
BUILD_DEPENDS= wmaker:${PORTSDIR}/x11/windowmaker
|
BUILD_DEPENDS= wmaker:${PORTSDIR}/x11/windowmaker
|
||||||
|
RUN_DEPENDS= wmaker:${PORTSDIR}/x11/windowmaker
|
||||||
|
|
||||||
USE_X11= yes
|
USE_X11= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS+= --enable-xgetdefault --enable-transparency \
|
CONFIGURE_ARGS+=--enable-utmp --enable-wtmp \
|
||||||
--enable-xpm-background
|
--with-xpm --enable-xpm-background --enable-transparency \
|
||||||
|
--enable-xgetdefault
|
||||||
# Various compile time options you may want to configure.
|
|
||||||
#CONFIGURE_ARGS+= --enable-utmp \
|
|
||||||
# --enable-wtmp \
|
|
||||||
# --enable-menubar
|
|
||||||
|
|
||||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
LDFLAGS="-L${LOCALBASE}/lib"
|
LDFLAGS="-L${LOCALBASE}/lib"
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/src/wterm ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/src/wterm ${PREFIX}/bin
|
||||||
|
@chmod 4755 ${PREFIX}/bin/wterm
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
15
x11/wterm/patches/patch-aa
Normal file
15
x11/wterm/patches/patch-aa
Normal file
@ -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
|
@ -1 +1,2 @@
|
|||||||
bin/wterm
|
bin/wterm
|
||||||
|
@exec chmod 4755 %D/bin/wterm
|
||||||
|
Loading…
Reference in New Issue
Block a user