Date: Sun, 21 Nov 2004 02:16:17 -0700 (MST) From: Mike Brown <mike@skew.org> To: Sam Lawrance <boris@brooknet.com.au> Cc: Mike Brown <mike@skew.org> Subject: Re: bsd.port.Mk error Message-ID: <200411210916.iAL9GHTk008021@chilled.skew.org> In-Reply-To: <419FEE89.1090004@brooknet.com.au> "from Sam Lawrance at Nov 21, 2004 12:25:29 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Sam Lawrance wrote: > Mike Brown wrote: > > >2. I accidentally typed "make" in a directory that did not have a Makefile, > >and got this error: > > > >"/usr/ports/Mk/bsd.port.mk", line 1459: Bad X_WINDOW_SYSTEM setting > > > >I do not have X11 installed on my system. I don't see anything in the Makefile > >that would have resulted in arriving at line 1459. If OSVERSION is being set > >by "/sbin/sysctl -n kern.osreldate" then it is "490102", and AFAIK, > >XFREE86_VERSION is not defined. Therefore around line 1180, X_WINDOW_SYSTEM > >should be set to "xfree86-4", and the elif around line 1424 should kick in. > >But somehow it falls through to the else. > > > >Any ideas? > > > > > There must have been a Makefile in there somewhere, otherwise > bsd.port.mk wouldn't have been included. > You're right, silly me. But anyway, I'm still getting the error, and it seems to be something specific to the port Makefile that I'm developing. Is there anything obviously wrong with the following? # New ports collection makefile for: py-4suite # Date created: 16 March 2000 # Whom: Mike Brown <mike@skew.org> # # $FreeBSD: ports/textproc/py-4suite/Makefile,v 1.13 2004/06/14 06:04:30 perky Exp $ # PORTNAME= 4suite PORTVERSION= 1.0.a4 PORTREVISION= 0 CATEGORIES= textproc www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= 4Suite-1.0a4 USE_BZIP2= yes WRKSRC= ${WRKDIR}/4Suite MASTER_SITES= ftp://ftp.4suite.org/pub/4Suite/ \ ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= foursuite MAINTAINER= mike@skew.org COMMENT= A collection of Python tools for XML and RDF processing #IGNORE= has a broken pkg-plist that removes dozens of files not installed by this port. #BUILD_DEPENDS= ${PYXML} #RUN_DEPENDS= ${PYXML} #CONFLICTS= #USE_REINPLACE= yes #REINPLACE_ARGS= -i "" -E USE_PYTHON= yes PYTHON_VERSION= 2.2.1+ USE_PYDISTUTILS= yes # not sure what to do about localstatedir PYDISTUTILS_CONFIGARGS= --bindir=${PREFIX}/bin \ --datadir=${PREFIX}/share/4Suite \ --sysconfdir=${PREFIX}/etc/4Suite \ --localstatedir=/var/local/lib/4Suite \ --libdir=${PREFIX}/lib/4Suite \ --docdir=${PREFIX}/share/doc/${PORTNAME} \ --pythonlibdir=${PYTHON_SITELIBDIR} \ --localedir=${PREFIX}/share/locale .if defined(NOPORTDOCS) PYDISTUTILS_BUILDARGS= --without-docs .else PYDISTUTILS_BUILDARGS= --with-docs .endif PYDISTUTILS_INSTALLARGS= -c -O1 .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411210916.iAL9GHTk008021>