diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/vm-pop3d/Makefile | 13 | ||||
-rw-r--r-- | mail/vm-pop3d/distinfo | 2 | ||||
-rw-r--r-- | mail/vm-pop3d/files/patch-configure | 20 |
3 files changed, 10 insertions, 25 deletions
diff --git a/mail/vm-pop3d/Makefile b/mail/vm-pop3d/Makefile index b48b8e9..f97e5fb 100644 --- a/mail/vm-pop3d/Makefile +++ b/mail/vm-pop3d/Makefile @@ -6,9 +6,10 @@ # PORTNAME= vm-pop3d -PORTVERSION= 1.1.4 +PORTVERSION= 1.1.6 CATEGORIES= mail -MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITES= ${MASTER_SITE_SUNSITE} \ + http://www.ibiblio.org/ MASTER_SITE_SUBDIR= system/mail/pop MAINTAINER= gslin@ccca.nctu.edu.tw @@ -16,21 +17,25 @@ MAINTAINER= gslin@ccca.nctu.edu.tw GNU_CONFIGURE= yes .if defined(WITH_IPVIRTUAL) -CONFIGURE_ARGS+= --enable-ip-based-virtual +CONFIGURE_ARGS+= --enable-ip-based-virtual --enable-virtual +.elsif defined(WITH_VIRTUAL) +CONFIGURE_ARGS+= --enable-virtual .endif MAN8= vm-pop3d.8 DOCS= AUTHORS CHANGES COPYING FAQ INSTALL README -pre-fetch: +pre-patch: @${ECHO} "" @${ECHO} "You may use the following build options:" @${ECHO} "" + @${ECHO} " WITH_VIRTUAL enable virtual passwd files and spool directories." @${ECHO} " WITH_IPVIRTUAL enable IP-based virtual passwd files and spool directories." @${ECHO} "" post-patch: + @${PERL} -pi -e "s@LIBS -ldl@LIBS@" ${WRKSRC}/configure @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/vm-pop3d.h post-install: diff --git a/mail/vm-pop3d/distinfo b/mail/vm-pop3d/distinfo index 0a83599..9ac6362 100644 --- a/mail/vm-pop3d/distinfo +++ b/mail/vm-pop3d/distinfo @@ -1 +1 @@ -MD5 (vm-pop3d-1.1.4.tar.gz) = 7c7b80bac86ec75a98f9ebba9ce0144c +MD5 (vm-pop3d-1.1.6.tar.gz) = 0399cc06f5329a6eaebec05d959a6ec1 diff --git a/mail/vm-pop3d/files/patch-configure b/mail/vm-pop3d/files/patch-configure deleted file mode 100644 index 9c0302e..0000000 --- a/mail/vm-pop3d/files/patch-configure +++ /dev/null @@ -1,20 +0,0 @@ ---- configure.orig Fri Aug 24 03:22:46 2001 -+++ configure Fri Aug 24 03:23:02 2001 -@@ -1174,7 +1174,7 @@ - echo $ac_n "(cached) $ac_c" 1>&6 - else - ac_save_LIBS="$LIBS" --LIBS="-lpam -ldl $LIBS" -+LIBS="-lpam $LIBS" - cat > conftest.$ac_ext <<EOF - #line 1180 "configure" - #include "confdefs.h" -@@ -1202,7 +1202,7 @@ - fi - if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 -- LIBS="$LIBS -ldl -lpam"; cat >> confdefs.h <<\EOF -+ LIBS="$LIBS -lpam"; cat >> confdefs.h <<\EOF - #define HAVE_LIBPAM 1 - EOF - |