Bug 182090 - security/xca: fix build on 10.0-CURRENT
Summary: security/xca: fix build on 10.0-CURRENT
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-14 14:00 UTC by freebsd
Modified: 2013-09-16 18:40 UTC (History)
1 user (show)

See Also:


Attachments
xca.patch (503 bytes, patch)
2013-09-14 14:00 UTC, freebsd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2013-09-14 14:00:00 UTC
	Attempt to fix build problem on CURRENT:
	http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-12_01h37m09s/logs/xca-0.9.3_1.log

Fix: Apply attached patch.
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2013-09-14 23:52:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 2 William Grzybowski freebsd_committer freebsd_triage 2013-09-16 18:39:10 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-09-16 18:39:34 UTC
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@e-card.bg>
-#
+# Created by: Valentin Zahariev <curly@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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"