aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2010-11-22 00:52:45 +0800
committernork <nork@FreeBSD.org>2010-11-22 00:52:45 +0800
commit3686955db6d8558db1213014f38155101902a123 (patch)
tree30e257fc05a1ec625b9ff5ee1cd867c9000f6d50 /security
parent1690330cc6d314f0e39cccaa3fb601cc78e8b632 (diff)
downloadfreebsd-ports-gnome-3686955db6d8558db1213014f38155101902a123.tar.gz
freebsd-ports-gnome-3686955db6d8558db1213014f38155101902a123.tar.zst
freebsd-ports-gnome-3686955db6d8558db1213014f38155101902a123.zip
UnBROKEN.
o Add implicit dependency on pkg-config. o Don't run-autotools-*, twice.
Diffstat (limited to 'security')
-rw-r--r--security/trousers/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/security/trousers/Makefile b/security/trousers/Makefile
index eef977ffe2db..2dbbb48a992b 100644
--- a/security/trousers/Makefile
+++ b/security/trousers/Makefile
@@ -13,6 +13,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= nork@FreeBSD.org
COMMENT= The open-source TCG Software Stack
+BUILD_DEPENDS= ${LOCALBASE}/share/aclocal/pkg.m4:${PORTSDIR}/devel/pkg-config
+
USE_GMAKE= YES
USE_ICONV= YES
USE_OPENSSL= YES
@@ -21,8 +23,6 @@ USE_AUTOTOOLS= autoconf:268 automake:111 libtool:22
GNU_CONFIGURE= YES
MAKE_JOBS_SAFE= YES
-BROKEN= does not configure
-
USE_RC_SUBR= tcsd
SUB_FILES= pkg-message
SUB_LIST= USERS=${USERS} GROUPS=${GROUPS}
@@ -73,8 +73,10 @@ PKGNAMESUFFIX+= -debug
CONFIGURE_ARGS+=--enable-debug
.endif
-pre-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${AUTORECONF} -i
+run-autotools: run-autotools-autoreconf
+
+run-autotools-autoreconf:
+ @cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -i
post-install:
@${MKDIR} ${EXAMPLESDIR}