aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-09-17 01:39:26 +0800
committerwg <wg@FreeBSD.org>2013-09-17 01:39:26 +0800
commit7b797bdff99d93d233308308ecd1d5b9479aacc4 (patch)
tree3d5c99d6bc7a06bf7bbe4f49ee5f36ebbae56a2c
parent33368633808100a1766b4010d37b279984a05f46 (diff)
downloadfreebsd-ports-gnome-7b797bdff99d93d233308308ecd1d5b9479aacc4.tar.gz
freebsd-ports-gnome-7b797bdff99d93d233308308ecd1d5b9479aacc4.tar.zst
freebsd-ports-gnome-7b797bdff99d93d233308308ecd1d5b9479aacc4.zip
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)
-rw-r--r--security/xca/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/security/xca/Makefile b/security/xca/Makefile
index 2f71ee3b2c93..7a44305fdfae 100644
--- a/security/xca/Makefile
+++ b/security/xca/Makefile
@@ -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 authority
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>