aboutsummaryrefslogtreecommitdiff
path: root/lib/atf/libatf-c++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/atf/libatf-c++/Makefile')
-rw-r--r--lib/atf/libatf-c++/Makefile17
1 files changed, 2 insertions, 15 deletions
diff --git a/lib/atf/libatf-c++/Makefile b/lib/atf/libatf-c++/Makefile
index 84477f79927d..163f7fbf363b 100644
--- a/lib/atf/libatf-c++/Makefile
+++ b/lib/atf/libatf-c++/Makefile
@@ -29,7 +29,8 @@
.include <bsd.init.mk>
LIB= atf-c++
-SHLIB_MAJOR= 2
+PRIVATELIB= true
+SHLIB_MAJOR= 1
# libatf-c++ depends on the C version of the ATF library to build.
DPADD= ${LIBATFC}
@@ -73,20 +74,6 @@ INCSDIR_atf-c++.hpp= ${INCLUDEDIR}
MAN= atf-c++-api.3
-all: atf-c++.pc
-atf-c++.pc: atf-c++.pc.in atf-version
- sed -e 's,__CXX__,${CXX},g' \
- -e 's,__INCLUDEDIR__,${INCLUDEDIR},g' \
- -e 's,__LIBDIR__,${LIBDIR},g' \
- -e "s,__ATF_VERSION__,$$(cat atf-version),g" \
- <${ATF}/atf-c++/atf-c++.pc.in >atf-c++.pc
-
-beforeinstall:
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
- atf-c++.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
- ${INSTALL} -C -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
- ${ATF}/atf-c++/atf-c++.m4 ${DESTDIR}${SHAREDIR}/aclocal
-
.if ${MK_TESTS} != "no"
SUBDIR= tests
.endif