summaryrefslogtreecommitdiff
path: root/security/gnupg
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-10-26 23:03:37 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-10-26 23:03:37 +0000
commit64e5d59d5ff635fd60744e582b5f77a7b1fc23fb (patch)
tree714f11958cbff9c91984c95b93830929151fba0a /security/gnupg
parentportlint (.ifndef (PORTLINT) -> .if !defined(NOPORTDOCS)) (diff)
Fix USE_DYNAMIC_LINKING detection.
Submitted by: ls+gnupg.devel.gnupg.org@gambit.com.ru References: http://lists.gnupg.org/pipermail/gnupg-devel/2003-October/020503.html
Notes
Notes: svn path=/head/; revision=92262
Diffstat (limited to 'security/gnupg')
-rw-r--r--security/gnupg/Makefile2
-rw-r--r--security/gnupg/files/patch-configure28
2 files changed, 29 insertions, 1 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 62c7edbeab60..49ac0839b6c3 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnupg
PORTVERSION= 1.2.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= gnupg
diff --git a/security/gnupg/files/patch-configure b/security/gnupg/files/patch-configure
new file mode 100644
index 000000000000..d0072727983f
--- /dev/null
+++ b/security/gnupg/files/patch-configure
@@ -0,0 +1,28 @@
+--- configure.orig Fri Aug 22 04:50:00 2003
++++ configure Mon Oct 27 04:14:29 2003
+@@ -9208,7 +9208,7 @@
+ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
+ echo "${ECHO_T}$ac_cv_func_dlopen" >&6
+ if test $ac_cv_func_dlopen = yes; then
+- :
++ found_dlopen=yes
+ else
+ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+ echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
+@@ -9266,6 +9266,7 @@
+ echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
+ if test $ac_cv_lib_dl_dlopen = yes; then
+ found_dlopen=yes
++ need_libdl=yes
+ fi
+
+ fi
+@@ -9281,6 +9282,8 @@
+ #define HAVE_DL_DLOPEN 1
+ _ACEOF
+
++ fi
++ if test x"$need_libdl" = "xyes" ; then
+ DLLIBS="-ldl"
+
+ fi