summaryrefslogtreecommitdiff
path: root/security/opencdk
diff options
context:
space:
mode:
Diffstat (limited to 'security/opencdk')
-rw-r--r--security/opencdk/Makefile8
-rw-r--r--security/opencdk/pkg-plist1
2 files changed, 5 insertions, 4 deletions
diff --git a/security/opencdk/Makefile b/security/opencdk/Makefile
index 071574da24c8..96531feddd76 100644
--- a/security/opencdk/Makefile
+++ b/security/opencdk/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= http://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/opencdk/ \
http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/opencdk/ \
ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
- ftp://ftp.gnutls.org/pub/gnutls/opencdk/
+ ftp://ftp.gnutls.org/pub/gnutls/opencdk/
MAINTAINER= sergei@kolobov.com
@@ -27,10 +27,12 @@ USE_REINPLACE= yes
DOCS= AUTHORS NEWS README THANKS
post-patch:
- ${REINPLACE_CMD} -e 's,#include <malloc.h>,#include<stdlib.h>,' \
- ${WRKSRC}/src/encrypt.c ${WRKSRC}/src/main.c
+.for file in encrypt.c main.c
+ ${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${file}
+.endfor
post-install:
+ ${RM} -f ${PREFIX}/lib/libopencdk.la
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}
diff --git a/security/opencdk/pkg-plist b/security/opencdk/pkg-plist
index 853ae760de01..56caa6724f9a 100644
--- a/security/opencdk/pkg-plist
+++ b/security/opencdk/pkg-plist
@@ -2,7 +2,6 @@ bin/opencdk-config
include/opencdk.h
lib/libopencdk.so.5
lib/libopencdk.so
-lib/libopencdk.la
lib/libopencdk.a
%%PORTDOCS%%share/doc/opencdk/AUTHORS
%%PORTDOCS%%share/doc/opencdk/NEWS