Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2017 11:55:49 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436809 - head/archivers/lzo2
Message-ID:  <201703241155.v2OBtnvm075164@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Fri Mar 24 11:55:49 2017
New Revision: 436809
URL: https://svnweb.freebsd.org/changeset/ports/436809

Log:
  Install .pc into libdata, fix build without docs.
  
  PR:		218058
  Reported by:	sunpoet@, danfe@, gaspar, kib@

Modified:
  head/archivers/lzo2/Makefile
  head/archivers/lzo2/pkg-plist

Modified: head/archivers/lzo2/Makefile
==============================================================================
--- head/archivers/lzo2/Makefile	Fri Mar 24 11:05:18 2017	(r436808)
+++ head/archivers/lzo2/Makefile	Fri Mar 24 11:55:49 2017	(r436809)
@@ -3,6 +3,7 @@
 
 PORTNAME=	lzo2
 PORTVERSION=	2.10
+PORTREVISION=	1
 CATEGORIES=	archivers devel
 MASTER_SITES=	http://www.oberhumer.com/opensource/lzo/download/ \
 		LOCAL/mandree
@@ -39,5 +40,9 @@ post-install:
 	${INSTALL_DATA}	${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA}	${WRKSRC}/examples/[a-z]*.[ch] ${STAGEDIR}${EXAMPLESDIR}/
+	${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
+	${INSTALL_DATA} ${WRKSRC}/lzo2.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
+	${RM} ${STAGEDIR}${PREFIX}/lib/pkgconfig/lzo2.pc
+	d="${STAGEDIR}${PREFIX}/lib/pkgconfig" ; if test -d "$$d" ; then ${RMDIR} "$$d" ; fi
 
 .include <bsd.port.mk>

Modified: head/archivers/lzo2/pkg-plist
==============================================================================
--- head/archivers/lzo2/pkg-plist	Fri Mar 24 11:05:18 2017	(r436808)
+++ head/archivers/lzo2/pkg-plist	Fri Mar 24 11:55:49 2017	(r436809)
@@ -15,7 +15,7 @@ lib/liblzo2.a
 lib/liblzo2.so
 lib/liblzo2.so.2
 lib/liblzo2.so.2.0.0
-lib/pkgconfig/lzo2.pc
+libdata/pkgconfig/lzo2.pc
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/BUGS
 %%PORTDOCS%%%%DOCSDIR%%/COPYING



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