Subject: | Wrong dependencies - Win32-GUI-Constants/Makefile.PL |
Hi,
please consider the enclosed simple patch to Win32-GUI-Constants/Makefile.PL which fixes improperly defined dependencies.
Without that patch I have (sometimes) experienced an error:
Constants.xs:26:23: error: constants.h: No such file or directory
The reason is that constants.h is defined as a prerequisite for building Constants.c (which already exists) and not for Constants.o - and exactly this fixes my patch.
Thanks.
--
kmx
please consider the enclosed simple patch to Win32-GUI-Constants/Makefile.PL which fixes improperly defined dependencies.
Without that patch I have (sometimes) experienced an error:
Constants.xs:26:23: error: constants.h: No such file or directory
The reason is that constants.h is defined as a prerequisite for building Constants.c (which already exists) and not for Constants.o - and exactly this fixes my patch.
Thanks.
--
kmx
Subject: | Win32-GUI.patch |
diff -ru Win32-GUI-1.06/Win32-GUI-Constants/Makefile.PL Win32-GUI-1.06.patched/Win32-GUI-Constants/Makefile.PL
--- Win32-GUI-1.06/Win32-GUI-Constants/Makefile.PL 2008-02-01 14:29:50.000000000 +0100
+++ Win32-GUI-1.06.patched/Win32-GUI-Constants/Makefile.PL 2010-01-09 09:21:52.718750000 +0100
@@ -27,7 +27,9 @@
INST_DEMODIR => '$(INST_LIB)/Win32/GUI/demos/$(BASEEXT)',
DEMOS => 'demos/ConstantsDemo.pl' },
clean => {FILES => '*.rc *.res constants.src constants.h t/70_values.def phash.inc phash.def', },
- depend => {'Constants.c' => 'constants.h phash.def phash.inc', },
+ depend => {'Constants.o' => 'Constants.c constants.h phash.inc',
+ 'phash.inc' => 'phash.def',
+ 'phash.def' => 'constants.src'},
);
# if building using gcc (MinGW or cygwin) use windres