svn commit: r327427 - head/security/xca

William Grzybowski wg at FreeBSD.org
Mon Sep 16 17:39:26 UTC 2013


Author: wg
Date: Mon Sep 16 17:39:26 2013
New Revision: 327427
URL: http://svnweb.freebsd.org/changeset/ports/327427

Log:
  security/xca: fix build on head
  
  - Fix build on head [1]
  - Trim Makefile header
  - USES gmake shared-mime-info
  
  PR:		ports/182090
  Submitted by:	freebsd _AT_ nagilum.org (maintainer)

Modified:
  head/security/xca/Makefile

Modified: head/security/xca/Makefile
==============================================================================
--- head/security/xca/Makefile	Mon Sep 16 17:38:50 2013	(r327426)
+++ head/security/xca/Makefile	Mon Sep 16 17:39:26 2013	(r327427)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xca
-# Date created:		2002-12-23
-# Whom:			Valentin Zahariev <curly at e-card.bg>
-#
+# Created by: Valentin Zahariev <curly at e-card.bg>
 # $FreeBSD$
-#
 
 PORTNAME=	xca
 PORTVERSION=	0.9.3
@@ -16,14 +12,10 @@ COMMENT=	Graphical certification authori
 
 LICENSE=	BSD
 
-RUN_DEPENDS=	update-mime-database:${PORTSDIR}/misc/shared-mime-info
-
-USE_GMAKE=	yes
 USE_OPENSSL=	yes
 USE_QT4=	gui moc_build uic_build qmake_build rcc_build linguist_build
 USE_AUTOTOOLS=	libltdl
-CC?=		gcc
-CXX?=		g++
+USES=		gmake shared-mime-info
 
 MAN1=		xca.1
 MANCOMPRESSED=	yes
@@ -52,7 +44,7 @@ post-patch:
 	@${REINPLACE_CMD} -e "/VPATH/{G;s/$$/TOPDIR_/;}" -e "s:\(TOPDIR\)_:\1=${WRKSRC}:" ${WRKSRC}/misc/Makefile
 	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/lib/import.cpp
 
-post-install:
-	@-update-mime-database ${PREFIX}/share/mime
+post-configure:
+	${REINPLACE_CMD} -e 's/-lQtGui/-lQtCore -lQtGui/' ${WRKSRC}/Local.mak
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list