mirror of
https://git.freebsd.org/ports.git
synced 2025-06-11 15:50:33 -04:00
* Use single digit for soversion * Support DragonFly * Drop unnecessary sed lines by adjusting MAKE_ARGS * Bump dependent ports PR: 192666 Submitted by: Jan Beich Approved by: portmgr (implicit, dependent port unstaged)
23 lines
546 B
C
23 lines
546 B
C
--- mktool.c~
|
|
+++ mktool.c
|
|
@@ -89,18 +89,18 @@ static const char *arg_array[32] = {
|
|
"lib%n.%1.%2.%3.dylib",
|
|
"lib%n.%1.%2.dylib",
|
|
"lib%n.dylib",
|
|
"darwin",
|
|
-#elif defined(__FreeBSD__) || defined(__NetBSD__)
|
|
+#elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)
|
|
"gcc",
|
|
" -g",
|
|
" -Wall -W",
|
|
" -Wall -W -ansi -pedantic",
|
|
" -std=c99",
|
|
" -std=c89",
|
|
" -fpic",
|
|
" -fPIC",
|
|
- " -Wl,-soname,lib%n.so.%1.%2",
|
|
+ " -Wl,-soname,lib%n.so.%1",
|
|
"",
|
|
" -shared",
|
|
" -Wl,-rpath,%s",
|
|
"lib%n.so.%1",
|