pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/28713: mail/courier-maildir's configure thinks it needs to add -ldb



>Number:         28713
>Category:       pkg
>Synopsis:       mail/courier-maildir's configure thinks it needs to add -ldb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 19 19:27:00 +0000 2004
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
mail/courier-maildir's configure thinks it needs to add -ldb because when 
testing for -ldb it does not recognize the cc's error message about -ldb not 
existing.
>How-To-Repeat:

>Fix:
Workaround:

--- Makefile.orig       2004-12-19 17:35:34.000000000 +0100
+++ Makefile    2004-12-19 19:26:58.000000000 +0100
@@ -41,6 +41,15 @@
 OWN_DIRS+=     ${PKG_SYSCONFDIR}/shared.tmp
 CONF_FILES=    ${EGDIR}/quotawarnmsg ${PKG_SYSCONFDIR}/quotawarnmsg
 
+.include "../../mk/bsd.prefs.mk"
+# on IRIX 5 configure incorrectly thinks it needs to add -ldb
+# However, that library does not exist
+#
+.if !empty(LOWER_OPSYS:Mirix5*)
+CONFIGURE_ENV+=       ac_cv_lib_db_dbopen="no"
+CONFIGURE_ENV+=       ac_cv_lib_db_db_open="no"
+.endif
+
 .include "../../mk/bdb.buildlink3.mk"

then again, maybe it is better to include that extra code in 
mail/courier-auth/Makefile.common, since mail/maildrop for example seems to 
suffer from the same problem.




Home | Main Index | Thread Index | Old Index