ports/172737: [PATCH] devel/yaml-cpp must provide a .so with major version
Zhihao Yuan
lichray at gmail.com
Mon Oct 15 21:40:01 UTC 2012
>Number: 172737
>Category: ports
>Synopsis: [PATCH] devel/yaml-cpp must provide a .so with major version
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 15 21:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Zhihao Yuan
>Release: FreeBSD 8.3-STABLE amd64
>Organization:
Northern Illinois University
>Environment:
System: FreeBSD elitebook.hp 8.3-STABLE FreeBSD 8.3-STABLE #4 r240363: Tue Sep 11 10:40:15 CDT 2012 lichray at elitebook.hp:/usr/obj/usr/src/sys/HOUKAGO amd64
>Description:
Or ldconfig/LIB_DEPENDS can't recognize it.
>How-To-Repeat:
>Fix:
--- yaml-cpp-0.3.0_1.patch begins here ---
diff -ruN --exclude=CVS ../yaml-cpp.orig/Makefile ./Makefile
--- ../yaml-cpp.orig/Makefile 2012-09-30 22:03:19.000000000 -0500
+++ ./Makefile 2012-10-15 16:34:36.193613031 -0500
@@ -5,6 +5,7 @@
PORTNAME= yaml-cpp
PORTVERSION= 0.3.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
diff -ruN --exclude=CVS ../yaml-cpp.orig/files/patch-CMakeLists.txt ./files/patch-CMakeLists.txt
--- ../yaml-cpp.orig/files/patch-CMakeLists.txt 1969-12-31 18:00:00.000000000 -0600
+++ ./files/patch-CMakeLists.txt 2012-10-15 16:34:17.286285227 -0500
@@ -0,0 +1,11 @@
+--- CMakeLists.txt~ 2012-10-15 16:29:19.593083413 -0500
++++ CMakeLists.txt 2012-10-15 16:31:26.535309379 -0500
+@@ -237,7 +237,7 @@ add_library(yaml-cpp
+
+ set_target_properties(yaml-cpp PROPERTIES
+ VERSION "${YAML_CPP_VERSION}"
+- SOVERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}"
++ SOVERSION "${YAML_CPP_VERSION_MAJOR}"
+ PROJECT_LABEL "yaml-cpp ${LABEL_SUFFIX}"
+ )
+
diff -ruN --exclude=CVS ../yaml-cpp.orig/pkg-plist ./pkg-plist
--- ../yaml-cpp.orig/pkg-plist 2012-09-30 22:03:19.000000000 -0500
+++ ./pkg-plist 2012-10-15 16:35:49.727887074 -0500
@@ -26,7 +26,7 @@
include/yaml-cpp/traits.h
include/yaml-cpp/yaml.h
lib/libyaml-cpp.so
-lib/libyaml-cpp.so.0.3
+lib/libyaml-cpp.so.0
lib/libyaml-cpp.so.0.3.0
libdata/pkgconfig/yaml-cpp.pc
@dirrm include/yaml-cpp/contrib
--- yaml-cpp-0.3.0_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list