Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2018 06:06:52 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464341 - head/dns/mdnsd
Message-ID:  <201803130606.w2D66qiO093453@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Tue Mar 13 06:06:52 2018
New Revision: 464341
URL: https://svnweb.freebsd.org/changeset/ports/464341

Log:
  dns/mdnsd: Fix package and install missing library
  
  Shared object "liblibmdnsd.so" not found, required by "mdnsd"
  
  PR:		226000
  Reported by:	xavier@xavierhumbert.net
  Approved by:	daniel+mdnsd@pelleg.org (maintainer timeout, 3 weeks)

Modified:
  head/dns/mdnsd/Makefile

Modified: head/dns/mdnsd/Makefile
==============================================================================
--- head/dns/mdnsd/Makefile	Tue Mar 13 04:10:07 2018	(r464340)
+++ head/dns/mdnsd/Makefile	Tue Mar 13 06:06:52 2018	(r464341)
@@ -5,6 +5,7 @@ PORTNAME=	mdnsd
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.7G-107
 DISTVERSIONSUFFIX=	-gf4aee59
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	dns
 
@@ -17,12 +18,14 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		cmake:outsource
 USE_GITHUB=	yes
 GH_ACCOUNT=	Pro
+USE_LDCONFIG=	yes
 
-PLIST_FILES=	bin/mdnsd bin/mquery
+PLIST_FILES=	bin/mdnsd bin/mquery lib/liblibmdnsd.so
 
 do-install:
-.for f in mdnsd mquery
-	${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
-.endfor
+	cd ${CONFIGURE_WRKSRC} && ${INSTALL_PROGRAM} mdnsd mquery \
+		${STAGEDIR}${PREFIX}/bin
+	${INSTALL_LIB} ${CONFIGURE_WRKSRC}/libmdnsd/liblibmdnsd.so \
+		${STAGEDIR}${PREFIX}/lib
 
 .include <bsd.port.mk>



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