summaryrefslogtreecommitdiff
blob: 386a6f0aa2558000b5454591534c1b7f1aea25ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 299ab08346de3f8f670d3a50c6180bccf0402067 Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Sat, 17 Mar 2018 14:52:48 +1300
Subject: Stop installing demo's to @INC

---
 Makefile.PL | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index c229779..2503a8e 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -14,11 +14,7 @@ WriteMakefile(
 		'CursorControl.pm'	=> '$(INST_LIB)/Tk/CursorControl.pm',
 		'trans_cur.xbm'	=> '$(INST_LIB)/Tk/trans_cur.xbm',
 		'trans_cur.mask'	=> '$(INST_LIB)/Tk/trans_cur.mask',
-		'demos/cursor.pl'	=> ($] >= 5.005
-					? '$(INST_ARCHLIB)'
-					: '$(INST_LIB)') . '/Tk/demos/widtrib/cursor.pl',
-			},
-	
+  },
 	'PREREQ_PM'	=> {
 		'Tk'	=> 800.015,
 		($^O =~ /(MSWin32|cygwin)/ ? ('Win32::API' => 0.20) : ()),
@@ -28,10 +24,3 @@ WriteMakefile(
 		'CursorControl.pm'   => '$(INST_MAN3DIR)/Tk::CursorControl.$(MAN3EXT)',
 		},
 );
-
-sub MY::postamble {
-	'
-demo :: pure_all
-	$(FULLPERL) -w -I$(SITELIBEXP)/Tk/demos/widget_lib -I$(SITEARCHEXP)/Tk/demos/widget_lib -Mblib demos/cursor.pl
-';
-}
-- 
2.16.2