diff options
author | mat <mat@FreeBSD.org> | 2014-12-04 23:45:07 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-12-04 23:45:07 +0800 |
commit | a85c28a6d2d577d0f566b62c02b0230e85a77e53 (patch) | |
tree | 833bd70372561440ef27e4970b315011db6b2433 | |
parent | 6ee6d243f99a4b1242d88c3841e695b93854f10a (diff) | |
download | freebsd-ports-gnome-a85c28a6d2d577d0f566b62c02b0230e85a77e53.tar.gz freebsd-ports-gnome-a85c28a6d2d577d0f566b62c02b0230e85a77e53.tar.zst freebsd-ports-gnome-a85c28a6d2d577d0f566b62c02b0230e85a77e53.zip |
Fix linking with libperl.so.xx.y.
With hat: perl@
Sponsored by: Absolight
-rw-r--r-- | net/libproxy-perl/Makefile | 10 | ||||
-rw-r--r-- | net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt | 10 |
2 files changed, 12 insertions, 8 deletions
diff --git a/net/libproxy-perl/Makefile b/net/libproxy-perl/Makefile index dd7008ed41e3..1c0c1cc65a19 100644 --- a/net/libproxy-perl/Makefile +++ b/net/libproxy-perl/Makefile @@ -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" diff --git a/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt b/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt new file mode 100644 index 000000000000..741a5f669aa6 --- /dev/null +++ b/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt @@ -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}) |