diff --git a/games/xscrabble/Makefile b/games/xscrabble/Makefile index 3c15ece3fc0..a58c00d0971 100644 --- a/games/xscrabble/Makefile +++ b/games/xscrabble/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.20 2007/09/15 18:01:04 simon Exp $ +# $OpenBSD: Makefile,v 1.21 2007/11/03 15:20:37 naddy Exp $ COMMENT= X11 version of the popular board game @@ -18,6 +18,9 @@ CONFIGURE_STYLE=imake noman USE_X11= Yes NO_REGRESS= Yes +post-extract: + @rm -f ${WRKSRC}/Xc/*.orig + pre-configure: @/usr/bin/perl -pi.bak -e "s|\@XSCRABBLEDIR\@|${PREFIX}/lib/X11/xscrabble|;" \ ${WRKSRC}/Imakefile ${WRKSRC}/XScrabble.ad ${WRKSRC}/src/main.c diff --git a/games/xscrabble/patches/patch-Xc_Control_c b/games/xscrabble/patches/patch-Xc_Control_c deleted file mode 100644 index cef52d4105d..00000000000 --- a/games/xscrabble/patches/patch-Xc_Control_c +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-Xc_Control_c,v 1.1 2007/10/26 21:19:17 ajacoutot Exp $ ---- Xc/Control.c.orig Sun Nov 5 13:17:43 1995 -+++ Xc/Control.c Sun Nov 5 13:17:43 1995 -@@ -547,7 +547,7 @@ char ch; - *dest = ch; - } - -- dest = NULL; -+ *dest = 0; - - } /* end of ToLower */ -