Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2017 05:46:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220000] mail/fetchmail placement of CONFIGURE_ARGS is significant
Message-ID:  <bug-220000-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220000

            Bug ID: 220000
           Summary: mail/fetchmail placement of CONFIGURE_ARGS is
                    significant
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
                CC: chalpin@cs.wisc.edu
             Flags: maintainer-feedback?(chalpin@cs.wisc.edu)
                CC: chalpin@cs.wisc.edu

While investigating why my fetchmail wasn't connecting to gmail, I discover=
ed
that it lacked ssl.=20=20

I'd modified=20
CONFIGURE_ARGS=3D        --enable-opie --enable-RPA --enable-SDPS \
--with-ssl=3D${OPENSSLBASE}
to
CONFIGURE_ARGS=3D --without-hesiod --enable-fallback=3Dno --with-ssl=3D${OP=
ENSSLBASE}
but ssl still wasn't included.  After a lot of head-scratching I moved
CONFIGURE_ARGS from line 32 to 75, immediately before=20
#.include <bsd.port.options.mk>

By moving this line, ssl was included.  Quite the mystery but the issue isn=
't
that I modified it, it is that by moving this line later in the script that=
 its
settings were "as they should be", namely:
# make -C  /usr/ports/mail/fetchmail/ -VCONFIGURE_ARGS
--without-hesiod --enable-fallback=3Dno --with-ssl=3D/usr/local --disable-n=
ls
--disable-NTLM --disable-POP2 PYTHON=3D: --without-gssapi --prefix=3D/usr/l=
ocal
${_LATE_CONFIGURE_ARGS}

instead of=20
--disable-nls --disable-NTLM --disable-POP2 PYTHON=3D: --without-gssapi
--prefix=3D/usr/local ${_LATE_CONFIGURE_ARGS}

This may be a bigger problem than just mail/fetchmail.

----------------------- svnlite diff=20
--- /usr/ports/mail/fetchmail/Makefile  (revision 442739)
+++ /usr/ports/mail/fetchmail/Makefile  (working copy)
@@ -26,9 +26,12 @@
 SUB_FILES=3D     pkg-message

 GNU_CONFIGURE=3D yes
-CONFIGURE_ARGS=3D        --enable-opie --enable-RPA --enable-SDPS \
-               --without-hesiod --enable-fallback=3Dno \
-               --with-ssl=3D${OPENSSLBASE}
+
+# 20160412 Next two lines changed. opie prevented a build; and unusual err=
ors
with clang so CONFIGURE_ARGS=3D        --enable-opie --enable-RPA --enable-=
SDPS
+# USE_GCC=3D     any
+#CONFIGURE_ARGS=3D       --enable-opie --enable-RPA --enable-SDPS \
+CONFIGURE_ARGS=3D        --without-hesiod --enable-fallback=3Dno
--with-ssl=3D${OPENSSLBASE}
+#              --with-ssl=3D${OPENSSLLIB}
 CONFIGURE_ENV=3D ac_cv_have_decl_SSLv2_client_method=3Dno

 LDFLAGS+=3D      -L${LOCALBASE}/lib
@@ -68,6 +71,7 @@
                design-notes.html fetchmail-FAQ.html fetchmail-features.htm=
l \
                esrs-design-notes.html

+#CONFIGURE_ARGS=3D       --without-hesiod --enable-fallback=3Dno
--with-ssl=3D${OPENSSLBASE}
 #.include <bsd.port.options.mk>

 post-patch:

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220000-13>