ports/astro/wmsun/files/patch-Makefile
Rodrigo Osorio f641d910db astro/wmsun: update to 1.06
Changelog: https://repo.or.cz/dockapps.git/blob_plain/HEAD:/wmsun/ChangeLog

Major changes:
  * Fix typo in manpage.
  * Move version number definition to Makefile
  * Add 'dist' target to Makefile to generate tarball

Port changes:
  * reformat Makefile to make portfmt happy
  * update WWW (error 404)
2024-10-18 00:04:57 +02:00

19 lines
402 B
Text

--- Makefile.orig 2024-10-17 21:56:44 UTC
+++ Makefile
@@ -21,14 +21,14 @@
.c.o:
$(CC) $(CPPFLAGS) -DWMSUN_VERSION=\"$(WMSUN_VERSION)\" $(CFLAGS) -c $< \
- -o $*.o
+ -o $@ $(INCDIR)
all: wmsun.o wmsun
wmsun.o: wmSun_master.xpm wmSun_mask.xbm
wmsun: $(OBJS)
- $(CC) $(LDFLAGS) -o wmsun $^ $(LIBS)
+ $(CC) $(LDFLAGS) -o wmsun $(OBJS) $(LIBDIR) $(LIBS)
clean:
for i in $(OBJS) ; do \