opnsense-ports/devel/libmba/files/patch-mktool.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

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",