pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/32048: mail/imap-uw logic bug in Makefile breaks non-NetBSD builds
>Number: 32048
>Category: pkg
>Synopsis: mail/imap-uw logic bug in Makefile breaks non-NetBSD builds
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 11 02:41:00 +0000 2005
>Originator: Brandon Bergren
>Release: N/A
>Organization:
>Environment:
Linux overbeck 2.6.12.3-linode14 #1 Tue Jul 26 23:44:29 EDT 2005 i686 unknown
unknown GNU/Linux
>Description:
PKG_OPTIONS_VAR doesn't get set unless compiling on a NetBSD host.
This is due to it occurring during the platform check for NetBSD.
Moving the definition outside of the conditional fixes it.
>How-To-Repeat:
Attempt to compile mail/imap-uw on a non-NetBSD host.
>Fix:
RCS file: /cvsroot/pkgsrc/mail/imap-uw/Makefile,v
retrieving revision 1.103
diff -u -r1.103 Makefile
--- Makefile 2 Nov 2005 11:14:30 -0000 1.103
+++ Makefile 11 Nov 2005 02:27:17 -0000
@@ -43,7 +43,6 @@
.else
BUILD_TARGET= neb
-PKG_OPTIONS_VAR= PKG_OPTIONS.imap-uw
PKG_SUPPORTED_OPTIONS+= inet6
# Kerberos is explicitly not enabled on NetBSD 1.x due to interoperability
# issues with later versions of OpenSSL (e.g. 0.9.7)
@@ -52,6 +51,8 @@
. endif
.endif
+PKG_OPTIONS_VAR= PKG_OPTIONS.imap-uw
+
.include "../../mk/bsd.options.mk"
.if empty(PKG_OPTIONS:Minet6)
Home |
Main Index |
Thread Index |
Old Index