diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile index 5a2f88893ee..3377c406f02 100644 --- a/japanese/kterm/Makefile +++ b/japanese/kterm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2000/03/30 02:10:36 espie Exp $ +# $OpenBSD: Makefile,v 1.8 2000/04/16 21:31:13 espie Exp $ # DISTNAME= kterm-6.2.0 @@ -22,16 +22,18 @@ MAINTAINER= ports@openbsd.org USE_IMAKE= Yes FAKE= Yes +MAKE_FLAGS= CDEBUGFLAGS=-O2 -FLAVORS=xaw3d +FLAVORS=xaw3d tek FLAVOR?= -.if ${FLAVOR:L} == "xaw3d" +.if ${FLAVOR:L:Mxaw3d} LIB_DEPENDS= Xaw3d.6.1::x11/Xaw3d MAKE_ENV=EXTRA_DEFINES=-DKTERM_XAW3D -.elif ${FLAVOR:L} != "" -.BEGIN: - @echo >&2 "Unknown flavor: ${FLAVOR}" - @exit 1 +.endif + +.if ${FLAVOR:L:Mtek} +pre-configure: + perl -pi.bak -e 's/define KTERM_NOTEK/undef KTERM_NOTEK/;' ${WRKSRC}/kterm.h .endif .include diff --git a/japanese/kterm/patches/patch-ab b/japanese/kterm/patches/patch-ab deleted file mode 100644 index c6ede3bd441..00000000000 --- a/japanese/kterm/patches/patch-ab +++ /dev/null @@ -1,10 +0,0 @@ ---- Imakefile.orig Tue Jul 28 16:34:39 1998 -+++ Imakefile Tue Jul 28 16:34:21 1998 -@@ -1,6 +1,7 @@ - XCOMM $XConsortium: Imakefile /main/65 1996/02/02 14:27:54 kaleb $ - XCOMM $Id: patch-ab,v 1.1 1998/07/29 01:31:15 espie Exp $ - -+#define CDEBUGFLAGS -O2 - #include "kterm.h" - - /* diff --git a/japanese/kterm/pkg/PLIST b/japanese/kterm/pkg/PLIST index ea800d2da9a..948a43b1cdc 100644 --- a/japanese/kterm/pkg/PLIST +++ b/japanese/kterm/pkg/PLIST @@ -1,3 +1,5 @@ -bin/kterm lib/X11/app-defaults/KTerm man/cat1/kterm.0 +@mode u+s +@owner root +bin/kterm