mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Fix the version number displayed by the programs. Use libtool instead of ar to make the static library so that the universal variant can be used. Use -Os or whatever the MacPorts optimization flags are. Disable silent rules. Specify the correct license. Update homepage.
26 lines
615 B
Diff
26 lines
615 B
Diff
Disable silent rules.
|
|
|
|
Use Apple libtool instead of ar so that the static library is created
|
|
correctly when building universal.
|
|
--- src/Makefile.orig 2020-05-30 14:03:15.000000000 -0500
|
|
+++ src/Makefile 2021-09-26 05:30:05.000000000 -0500
|
|
@@ -145,8 +145,7 @@
|
|
endef # PROG_template
|
|
|
|
../wrk/%.o: %.c
|
|
- @echo $<
|
|
- @$(CC) -c $(CFLAGS) -o $@ $<
|
|
+ $(CC) -c $(CFLAGS) -o $@ $<
|
|
|
|
../bin:
|
|
@$(call MKDIR,$@)
|
|
@@ -154,7 +153,7 @@
|
|
$(eval $(call OBJS_template,common))
|
|
|
|
../wrk/common/common.a: $(common_OBJS)
|
|
- $(AR) r $@ $?
|
|
+ libtool -static -o $@ $^
|
|
|
|
$(foreach prog,$(PROGS),$(eval $(call PROG_template,$(prog))))
|
|
|