diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-10-26 23:03:37 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-10-26 23:03:37 +0000 |
commit | 64e5d59d5ff635fd60744e582b5f77a7b1fc23fb (patch) | |
tree | 714f11958cbff9c91984c95b93830929151fba0a /security/gnupg1 | |
parent | 78ae367331b586a3e394372147a51a9915c71f86 (diff) | |
download | ports-64e5d59d5ff635fd60744e582b5f77a7b1fc23fb.tar.gz ports-64e5d59d5ff635fd60744e582b5f77a7b1fc23fb.zip |
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/gnupg1')
-rw-r--r-- | security/gnupg1/Makefile | 2 | ||||
-rw-r--r-- | security/gnupg1/files/patch-configure | 28 |
2 files changed, 29 insertions, 1 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile index 62c7edbeab60..49ac0839b6c3 100644 --- a/security/gnupg1/Makefile +++ b/security/gnupg1/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/gnupg1/files/patch-configure b/security/gnupg1/files/patch-configure new file mode 100644 index 000000000000..d0072727983f --- /dev/null +++ b/security/gnupg1/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 |