Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 03:48:44 +0900
From:      Hye-Shik Chang <perky@fallin.lv>
To:        Ying-Chieh Liao <ijliao@FreeBSD.org>
Cc:        Thomas Gellekum <tg@FreeBSD.org>, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/Mk bsd.python.mk
Message-ID:  <20020419034844.A16555@fallin.lv>
In-Reply-To: <20020418182248.GA74141@terry.dragon2.net>; from ijliao@FreeBSD.org on Fri, Apr 19, 2002 at 02:22:48AM %2B0800
References:  <200204171134.g3HBYle31526@freefall.freebsd.org> <20020417215158.A74398@fallin.lv> <20020418182248.GA74141@terry.dragon2.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 19, 2002 at 02:22:48AM +0800, Ying-Chieh Liao wrote:
> there's the same error when I tried to build net/py-snmp
>
> ===>   py22-snmp-1.6.5 depends on file: /usr/local/bin/python2.2 - found
> ===>  Patching for py22-snmp-1.6.5
> ===>  Configuring for py22-snmp-1.6.5
> ===>  Building for py22-snmp-1.6.5
> make: cannot open Makefile.
> *** Error code 2
>
> Stop in /usr/ports/net/py-snmp.

This patch will resolve the problem..
(I sent tg this patch yesterday.
 Should I send this to portmgr@?)


--- bsd.port.mk.orig	Fri Apr 19 03:25:59 2002
+++ bsd.port.mk	Fri Apr 19 03:26:13 2002
@@ -1039,6 +1039,10 @@
 
 .include "${PORTSDIR}/Mk/bsd.gnome.mk"
 
+.if defined(USE_PYTHON) || defined(PYTHON_VERSION)
+.include "${PORTSDIR}/Mk/bsd.python.mk"
+.endif
+
 .if exists(${PORTSDIR}/../Makefile.inc)
 .include "${PORTSDIR}/../Makefile.inc"
 .endif

Regards,

--
Hye-Shik Chang <perky@fallin.lv>
Yonsei University, Seoul

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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