head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.10 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.8 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.6 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.4 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.2 pkgsrc-2025Q1-base:1.2; locks; strict; comment @# @; 1.2 date 2025.02.12.10.45.28; author wiz; state Exp; branches; next 1.1; commitid pEX68FGCGmJduaJF; 1.1 date 2025.01.27.12.17.03; author wiz; state Exp; branches; next ; commitid 5b5Wai3LHpdFv7HF; desc @@ 1.2 log @gtk-send-pr: fix build differently by adding an explicit rule for .c.o @ text @$NetBSD$ Use explicit rule for building objects; avoid breakage with different defaults in the share/mk versions. --- Makefile.orig 2025-02-12 10:43:30.246112733 +0000 +++ Makefile @@@@ -23,3 +23,6 @@@@ install: clean: rm -f *.o */*.c~ */*.h~ gtk-send-pr gtk-send-pr.core + +.c.o: + ${COMPILE.c} ${.IMPSRC} @ 1.1 log @gtk-send-pr: fix build @ text @d3 2 a4 1 Use object names with paths when linking. d6 1 a6 1 --- Makefile.orig 2025-01-27 12:15:17.056020141 +0000 d8 1 a8 2 @@@@ -15,7 +15,7 @@@@ OBJECTS= GTK/main.o GTK/gtk_ui.o common/ OBJ= main.o gtk_ui.o user_settings.o smtp.o file.o uname_gather.o pr_defs.o d10 5 a14 6 all: $(OBJECTS) - $(CC) $(LDFLAGS) -o gtk-send-pr $(OBJ) + $(CC) $(LDFLAGS) -o gtk-send-pr $(OBJECTS) install: ${BSD_INSTALL_PROGRAM} gtk-send-pr ${PREFIX}/bin @