aboutsummaryrefslogtreecommitdiff
path: root/security/opencryptoki
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2010-11-23 13:42:11 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2010-11-23 13:42:11 +0000
commit5a635ec46507d5d7ac713e7990ecf2cdac1c0cb3 (patch)
tree93e1eea1e5ba59c1d16dfcaaad3caf2010a8b06e /security/opencryptoki
parentf05418f618956a254e47fc63bdd12276b772a1e0 (diff)
downloadports-5a635ec46507d5d7ac713e7990ecf2cdac1c0cb3.tar.gz
ports-5a635ec46507d5d7ac713e7990ecf2cdac1c0cb3.zip
o Don't run-autotools-*, twice.
o Don't install extra init.d script. [1] o Bump PORTREVISION, accordingly. Pointed out by: ume [1]
Notes
Notes: svn path=/head/; revision=265004
Diffstat (limited to 'security/opencryptoki')
-rw-r--r--security/opencryptoki/Makefile10
-rw-r--r--security/opencryptoki/files/patch-Makefile.am9
2 files changed, 14 insertions, 5 deletions
diff --git a/security/opencryptoki/Makefile b/security/opencryptoki/Makefile
index 09aae6141161..d415e5d0c407 100644
--- a/security/opencryptoki/Makefile
+++ b/security/opencryptoki/Makefile
@@ -7,6 +7,7 @@
PORTNAME= opencryptoki
PORTVERSION= 2.3.2
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
@@ -54,11 +55,10 @@ CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CFLAGS+= -I${LOCALBASE}/include
-pre-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${ACLOCAL}
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LIBTOOLIZE} --force -c
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${AUTOMAKE} --add-missing -c
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${AUTOCONF}
+run-autotools: run-autotools-autoreconf
+
+run-autotools-autoreconf:
+ @cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -i
post-install:
@cd ${PREFIX}/lib && ${LN} -s opencryptoki/libopencryptoki* .
diff --git a/security/opencryptoki/files/patch-Makefile.am b/security/opencryptoki/files/patch-Makefile.am
new file mode 100644
index 000000000000..d8d58bc388ac
--- /dev/null
+++ b/security/opencryptoki/files/patch-Makefile.am
@@ -0,0 +1,9 @@
+--- Makefile.am.orig 2010-07-29 21:28:41.000000000 +0900
++++ Makefile.am 2010-11-23 22:35:25.112978674 +0900
+@@ -8,5 +8,5 @@
+ MISCDIR = misc
+ endif
+
+-SUBDIRS = usr man $(MISCDIR) $(TESTDIR)
++SUBDIRS = usr man $(TESTDIR)
+