mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Patch Makefile.devel in post-patch and touch files to prevent autotools from being run. Also silence implicit declaration warnings. MIN and MAX are checked for in limits.h and sys/param.h, and the implicit declaration error happens for the former. The 'unreachable' and 'alignof' macros may not be available depending on the compiler and system headers' supported C standard. The implicit int error is caused by testing if static_assert works in the global scope. Closes: https://trac.macports.org/ticket/66232
11 lines
940 B
Diff
11 lines
940 B
Diff
--- src/Makefile.in.orig 2023-05-13 06:45:58
|
|
+++ src/Makefile.in 2026-03-02 14:44:55
|
|
@@ -113,6 +113,7 @@
|
|
if [ ! -d $(DESTDIR)$(bindir) ] ; then $(mkinstalldirs) $(DESTDIR)$(bindir) ; fi
|
|
case "@host_os@" in \
|
|
hpux*) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a -L$(DESTDIR)$(libdir) -liconv @LIBINTL@ $(OBJECTS_RES_@WOE32@) `if test -n '$(DESTDIR)'; then echo " -Wl,+b -Wl,$(libdir)"; fi` -o iconv$(EXEEXT);; \
|
|
+ darwin*) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a -L$(DESTDIR)$(libdir) -liconv @LIBINTL@ $(OBJECTS_RES_@WOE32@) -o iconv$(EXEEXT);; \
|
|
*) $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a @LTLIBINTL@ $(DESTDIR)$(libdir)/libiconv.la $(OBJECTS_RES_@WOE32@) -o iconv$(EXEEXT);; \
|
|
esac
|
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) iconv$(EXEEXT) $(DESTDIR)$(bindir)/iconv$(EXEEXT)
|