summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/android-tools-adb/files/Makefile2
-rw-r--r--devel/android-tools-fastboot/files/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/devel/android-tools-adb/files/Makefile b/devel/android-tools-adb/files/Makefile
index d717897fb237..923a4ac49880 100644
--- a/devel/android-tools-adb/files/Makefile
+++ b/devel/android-tools-adb/files/Makefile
@@ -85,6 +85,8 @@ SRCS+= socket_network_client_unix.cpp
SRCS+= ../libcutils/sockets.cpp
SRCS+= load_file.cpp
SRCS+= threads.cpp
+# DragonFly, NetBSD, OpenBSD
+CPPFLAGS.sockets.cpp+= -o ${.TARGET}
# required by base/file.cpp
.PATH: ${.CURDIR}/../liblog
diff --git a/devel/android-tools-fastboot/files/Makefile b/devel/android-tools-fastboot/files/Makefile
index 3c93be6084f0..1f2648a8315f 100644
--- a/devel/android-tools-fastboot/files/Makefile
+++ b/devel/android-tools-fastboot/files/Makefile
@@ -40,6 +40,8 @@ SRCS+= ../libcutils/sockets.cpp
SRCS+= socket_inaddr_any_server_unix.cpp
SRCS+= socket_network_client_unix.cpp
SRCS+= sockets_unix.cpp
+# DragonFly, NetBSD, OpenBSD
+CPPFLAGS.sockets.cpp+= -o ${.TARGET}
# required by base and libutils
.PATH: ${.CURDIR}/../liblog