mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
c8da6086a1
infastructure of openradius uses the ARCH macro in order to run ar(1). As FreeBSD's make(1) predefines ARCH to the architecture, this broke compilation. Fix this by (ab)using the AR macro instead. As the maintainer timed out on fixing this by about half a year, and I need the port right now, I take the liberty to ignore the maintainer bit here.
23 lines
541 B
Plaintext
23 lines
541 B
Plaintext
--- language/Rules.mk.orig Thu Jan 9 11:18:53 2003
|
|
+++ language/Rules.mk Thu Apr 7 14:06:31 2005
|
|
@@ -31,7 +31,7 @@
|
|
$(COMP)
|
|
|
|
$(d)/language.a: $(LIBOBJS_$(d))
|
|
- $(ARCH)
|
|
+ $(AR)
|
|
|
|
$(d)/langtest: $(TSTOBJS_$(d)) common/common.a
|
|
$(LINK)
|
|
--- common/Rules.mk.orig Sun Feb 23 14:32:14 2003
|
|
+++ common/Rules.mk Thu Apr 7 14:05:54 2005
|
|
@@ -29,7 +29,7 @@
|
|
$(OBJS_$(d)): $(d)/platform.h
|
|
|
|
$(d)/common.a: $(OBJS_$(d))
|
|
- $(ARCH)
|
|
+ $(AR)
|
|
|
|
$(d)/platform.h: $(d)/Rules.mk
|
|
$(DEFHDR) $@ $(S_CF_U_INT32_T) $(S_CF_VSNPRINTF) $(S_CF_SYSLOG)
|