diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-10-27 07:03:37 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-10-27 07:03:37 +0800 |
commit | 1a727dd67207fb945d8eca1aaae3175ff2770d43 (patch) | |
tree | b1b2817b9b0024084922bc6c5c6e8934e3a11ab0 /security/gnupg1 | |
parent | 6399962965187d72362633a9d7ae5b7f2dae5ce4 (diff) | |
download | freebsd-ports-gnome-1a727dd67207fb945d8eca1aaae3175ff2770d43.tar.gz freebsd-ports-gnome-1a727dd67207fb945d8eca1aaae3175ff2770d43.tar.zst freebsd-ports-gnome-1a727dd67207fb945d8eca1aaae3175ff2770d43.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
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 |