Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2014 15:45:07 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373961 - in head/net: libproxy-perl libproxy/files
Message-ID:  <201412041545.sB4Fj7vV088437@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu Dec  4 15:45:07 2014
New Revision: 373961
URL: https://svnweb.freebsd.org/changeset/ports/373961
QAT: https://qat.redports.org/buildarchive/r373961/

Log:
  Fix linking with libperl.so.xx.y.
  
  With hat:	perl@
  Sponsored by:	Absolight

Added:
  head/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt   (contents, props changed)
Modified:
  head/net/libproxy-perl/Makefile

Modified: head/net/libproxy-perl/Makefile
==============================================================================
--- head/net/libproxy-perl/Makefile	Thu Dec  4 15:41:42 2014	(r373960)
+++ head/net/libproxy-perl/Makefile	Thu Dec  4 15:45:07 2014	(r373961)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 #    $MCom: ports/net/libproxy-perl/Makefile,v 1.1 2011/01/12 13:10:53 kwm Exp $
 
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net lang
 PKGNAMESUFFIX=	-perl
 
@@ -15,14 +15,8 @@ MASTERDIR=	${.CURDIR}/../libproxy
 DESCR=		${.CURDIR}/pkg-descr
 PLIST=		${.CURDIR}/pkg-plist
 USES=		perl5
+INSTALL_WRKSRC=	${WRKSRC}/bindings/perl
 
 LIBPROXY_SLAVE=	perl
 
-do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/Libproxy ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/Net
-	${INSTALL_LIB} ${WRKSRC}/perl/blib/arch/auto/Net/Libproxy.so \
-		${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/Libproxy
-	${INSTALL_DATA} ${WRKSRC}/perl/blib/lib/Libproxy.pm \
-		${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/Net
-
 .include "${MASTERDIR}/Makefile"

Added: head/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt	Thu Dec  4 15:45:07 2014	(r373961)
@@ -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})



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412041545.sB4Fj7vV088437>