mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
- Add RUN_DEPENDS on devel/pcc-libs port on the same version - Adapt PLIST_FILES - Add THREADS option to "Enable Thread-local storage (TLS)" - Add new patch for ${WRKSRC}/cc/cc/cc.c file, related to inverted MULTIARCH_PATH define check - Replace some static patches with sed patches - Remove unneeded patches for this version PR: 196642 Submitted by: Sender Ghost <lightside@gmx.com> Approved by: joel (maintainer)
11 lines
359 B
C
11 lines
359 B
C
--- cc/cc/cc.c.orig 2014-12-06 09:52:55 UTC
|
|
+++ cc/cc/cc.c
|
|
@@ -206,7 +206,7 @@ char *cppmdadd[] = CPPMDADD;
|
|
#define PCCLIBDIR NULL
|
|
#endif
|
|
#ifndef DEFLIBDIRS /* default library search paths */
|
|
-#ifdef MULTIARCH_PATH
|
|
+#ifndef MULTIARCH_PATH
|
|
#define DEFLIBDIRS { "/usr/lib/", 0 }
|
|
#else
|
|
#define DEFLIBDIRS { "/usr/lib/", "/usr/lib/" MULTIARCH_PATH "/", 0 }
|