[Midnightbsd-cvs] mports [20139] trunk/net/libproxy: fix build of libproxy
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Aug 30 12:49:59 EDT 2015
Revision: 20139
http://svnweb.midnightbsd.org/mports/?rev=20139
Author: laffer1
Date: 2015-08-30 12:49:59 -0400 (Sun, 30 Aug 2015)
Log Message:
-----------
fix build of libproxy
Modified Paths:
--------------
trunk/net/libproxy/Makefile
Added Paths:
-----------
trunk/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt
trunk/net/libproxy/files/patch-libproxy_modules_pacrunner__webkit.cpp
Modified: trunk/net/libproxy/Makefile
===================================================================
--- trunk/net/libproxy/Makefile 2015-08-30 16:47:13 UTC (rev 20138)
+++ trunk/net/libproxy/Makefile 2015-08-30 16:49:59 UTC (rev 20139)
@@ -2,9 +2,9 @@
PORTNAME= libproxy
PORTVERSION= 0.4.6
-PORTREVISION?= 3
+PORTREVISION?= 4
CATEGORIES?= net devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports at MidnightBSD.org
COMMENT?= Library that provides automatic proxy configuration management
@@ -11,7 +11,8 @@
LICENSE= lgpl2.1
-USE_CMAKE= yes
+USES+= cmake cpe
+CPE_VENDOR= libproxy_project
PLIST_SUB+= VERSION=${PORTVERSION}
@@ -62,7 +63,5 @@
post-install:
@${MKDIR} ${PREFIX}/lib/libproxy/${PORTVERSION}/modules/
- -(cd ${PREFIX}/lib/ && ln -s libproxy.so libproxy.so.1)
- -(cd ${PREFIX}/lib/ && ln -s libmodman.so libmodman.so.1)
.include <bsd.port.mk>
Added: trunk/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt
===================================================================
--- trunk/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt (rev 0)
+++ trunk/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt 2015-08-30 16:49:59 UTC (rev 20139)
@@ -0,0 +1,10 @@
+--- bindings/perl/src/CMakeLists.txt.orig 2010-09-01 20:23:34 UTC
++++ bindings/perl/src/CMakeLists.txt
+@@ -12,6 +12,7 @@ set(Libproxy_LIB_SRCS Libproxy.c)
+
+ set(CMAKE_C_COMPILER ${CMAKE_CXX_COMPILER})
+ set(CMAKE_C_FLAGS ${PERL_CXX_FLAGS} )
++SET(CMAKE_INSTALL_RPATH ${PERL_INCLUDE_DIR})
+
+ set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/perl/blib/arch/auto/Net)
+ add_library(PLlibproxy SHARED ${Libproxy_LIB_SRCS})
Property changes on: trunk/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/libproxy/files/patch-libproxy_modules_pacrunner__webkit.cpp
===================================================================
--- trunk/net/libproxy/files/patch-libproxy_modules_pacrunner__webkit.cpp (rev 0)
+++ trunk/net/libproxy/files/patch-libproxy_modules_pacrunner__webkit.cpp 2015-08-30 16:49:59 UTC (rev 20139)
@@ -0,0 +1,10 @@
+--- libproxy/modules/pacrunner_webkit.cpp.orig 2010-09-01 20:23:34.000000000 +0000
++++ libproxy/modules/pacrunner_webkit.cpp
+@@ -20,6 +20,7 @@
+ #include "../extension_pacrunner.hpp"
+ using namespace libproxy;
+
++#include <unistd.h>
+ #ifdef __APPLE__
+ // JavaScriptCore.h requires CoreFoundation
+ // This is only found on Mac OS X
Property changes on: trunk/net/libproxy/files/patch-libproxy_modules_pacrunner__webkit.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list