1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

- Fix build

- While at it, get rid of PTHREAD_ variables
This commit is contained in:
Pietro Cerutti 2013-02-11 13:07:44 +00:00
parent 5c49e6a05d
commit a6d77db36c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312058
2 changed files with 12 additions and 2 deletions

View File

@ -33,8 +33,8 @@ USE_PKGCONFIG= yes
USE_SQLITE= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-docs \
--enable-clanDisplay \

View File

@ -0,0 +1,10 @@
--- ./Sources/Network/Socket/socket_name.cpp.orig 2013-02-11 14:02:51.000000000 +0100
+++ ./Sources/Network/Socket/socket_name.cpp 2013-02-11 14:04:33.000000000 +0100
@@ -34,6 +34,7 @@
#ifdef WIN32
typedef unsigned long in_addr_t;
#else
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>