svn commit: r378824 - head/databases/glom

Koop Mast kwm at FreeBSD.org
Wed Feb 11 09:20:21 UTC 2015


Author: kwm
Date: Wed Feb 11 09:20:20 2015
New Revision: 378824
URL: https://svnweb.freebsd.org/changeset/ports/378824
QAT: https://qat.redports.org/buildarchive/r378824/

Log:
  Make glom pass configure on FreeBSD versions without libarchive.pc in base.

Modified:
  head/databases/glom/Makefile

Modified: head/databases/glom/Makefile
==============================================================================
--- head/databases/glom/Makefile	Wed Feb 11 09:20:18 2015	(r378823)
+++ head/databases/glom/Makefile	Wed Feb 11 09:20:20 2015	(r378824)
@@ -42,6 +42,10 @@ INSTALLS_ICONS=	yes
 #PLIST_SUB+=	VERSION=${PORTVERSION:R}
 PLIST_SUB+=	VERSION=1.26
 
+.if ! exists(/usr/libdata/pkgconfig/libarchive.pc)
+LIB_DEPENDS+=	libarchive.so.13:${PORTSDIR}/archivers/libarchive
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-update-mime-database|true|g' \
 		${WRKSRC}/Makefile.in


More information about the svn-ports-all mailing list