On Sat, 19 Jul 2014 23:29:58 +0000 (UTC), Christian Weisgerber wrote:
> On 2014-07-18, Christian Weisgerber <[email protected]> wrote:
>
> > This build also contained pascal@'s sys.mk patch for adding default
> > rules for .cpp files. I don't think any errors can be attributed
> > to that, although somebody might want to double-check gsmartcontrol.
>
> gsmartcontrol is indeed fallout from the sys.mk diff.
Easily fixed by removing the rules for {ui,glade}.cpp targets. They
don't need to be remade as they already exist in the distribution
tarball.
Alternatively, the port could also switch to gmake, where the workaround
in the Makefile itself (setting SUFFIXES) will work.
Index: patches/patch-src_res_Makefile_in
===================================================================
RCS file: patches/patch-src_res_Makefile_in
diff -N patches/patch-src_res_Makefile_in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_res_Makefile_in 20 Jul 2014 11:14:59 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- src/res/Makefile.in.orig Sun Jul 20 13:10:41 2014
++++ src/res/Makefile.in Sun Jul 20 13:11:00 2014
+@@ -517,9 +517,6 @@ uninstall-am:
+ mostlyclean-local:
+ rm -f *.glade.cpp *.ui.cpp *.tmp_ui *.txt.cpp
+
+-# This lists the actual makefile rules for each target.
+-@RES_TARGETS@
+-
+ # # List all local resource files here. Note: noinst_DATA doesn't put them
into distribution (why?)
+ # EXTRA_DIST = gsc_about_dialog.glade gsc_executor_log_window.glade \
+ # gsc_help_window.glade gsc_info_window.glade gsc_main_window.glade \