diff options
author | gahr <gahr@FreeBSD.org> | 2013-02-11 21:07:44 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-02-11 21:07:44 +0800 |
commit | dbec973b3a6c6cffb249ca02dc40630066ad5dcc (patch) | |
tree | 50238a0427427faf5241941368be311348297312 /devel | |
parent | 2ee6b9386c3a98768260f89fc58e5531a23738fe (diff) | |
download | freebsd-ports-gnome-dbec973b3a6c6cffb249ca02dc40630066ad5dcc.tar.gz freebsd-ports-gnome-dbec973b3a6c6cffb249ca02dc40630066ad5dcc.tar.zst freebsd-ports-gnome-dbec973b3a6c6cffb249ca02dc40630066ad5dcc.zip |
- Fix build
- While at it, get rid of PTHREAD_ variables
Diffstat (limited to 'devel')
-rw-r--r-- | devel/clanlib/Makefile | 4 | ||||
-rw-r--r-- | devel/clanlib/files/patch-Sources__Network__Socket__socket_name.cpp | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/devel/clanlib/Makefile b/devel/clanlib/Makefile index eaafa6cb9571..b536305390e0 100644 --- a/devel/clanlib/Makefile +++ b/devel/clanlib/Makefile @@ -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 \ diff --git a/devel/clanlib/files/patch-Sources__Network__Socket__socket_name.cpp b/devel/clanlib/files/patch-Sources__Network__Socket__socket_name.cpp new file mode 100644 index 000000000000..044cb745f411 --- /dev/null +++ b/devel/clanlib/files/patch-Sources__Network__Socket__socket_name.cpp @@ -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> |