From mool@moolenaar.net  Wed Jan 15 08:21:27 2003
Return-Path: <mool@moolenaar.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 515F937B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Jan 2003 08:21:27 -0800 (PST)
Received: from mail5-sh.home.nl (mail5.home.nl [213.51.128.16])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 18A4F43F43
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Jan 2003 08:21:21 -0800 (PST)
	(envelope-from mool@moolenaar.net)
Received: from moolenaar.net ([212.120.77.84]) by mail5-sh.home.nl
          (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP
          id <20030115162118.KYHD15296.mail5-sh.home.nl@moolenaar.net>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Wed, 15 Jan 2003 17:21:18 +0100
Received: (from mool@localhost)
	by moolenaar.net (8.11.6/8.11.1) id h0FGLIQ05025;
	Wed, 15 Jan 2003 17:21:18 +0100 (CET)
	(envelope-from Bram@moolenaar.net)
Message-Id: <200301151621.h0FGLIQ05025@moolenaar.net>
Date: Wed, 15 Jan 2003 17:21:18 +0100 (CET)
From: Bram Moolenaar <mool@moolenaar.net>
Reply-To: Bram Moolenaar <mool@moolenaar.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: sip port doesn't build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47107
>Category:       ports
>Synopsis:       sip port doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    nbm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 15 08:30:01 PST 2003
>Closed-Date:    Wed Aug 13 02:43:37 PDT 2003
>Last-Modified:  Wed Aug 13 02:43:37 PDT 2003
>Originator:     Bram Moolenaar
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:
System: FreeBSD masaka.moolenaar.net 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Sun Feb 24 13:16:55 CET 2002 mool@masaka.moolenaar.net:/usr/src/sys/compile/MASAKA i386


	
>Description:
	Building the devel/sip port doesn't work.
	A dependency on "tmake" is missing, that can be added.
	An include file can't be found, that can be fixed by adding an option.
	Then it complains about not finding a configuration file, I don't know
	how to fix this.  Output of "make":
	===>  Configuring for sip-3.4
	******************************************************************************
	Building the GPL version of SIP 3.4 for Python 2.2.2 on freebsd4.
	******************************************************************************
	******************************************************************************
	/usr/ports/devel/sip/work/modules is the SIP module installation directory.
	******************************************************************************
	******************************************************************************
	/usr/local/include/python2.2 contains Python.h.
	******************************************************************************
	******************************************************************************
	/usr/X11R6 is the Qt base directory.
	******************************************************************************
	******************************************************************************
	/usr/X11R6/include/qt2/ contains qglobal.h.
	******************************************************************************
	******************************************************************************
	Qt 2.3.0 is being used.
	******************************************************************************
	******************************************************************************
	/usr/local/bin/tmake will be used to generate Makefiles.
	******************************************************************************
	******************************************************************************
	The qt Qt library was found.
	******************************************************************************
	******************************************************************************
	Qt thread support is disabled.
	******************************************************************************
	******************************************************************************
	/usr/bin/make will be used as the make program.
	******************************************************************************
	tmake error: Template file tmake.conf not found
	******************************************************************************
	Error: /usr/local/bin/tmake failed with an exit code of 1.
	******************************************************************************
	*** Error code 1


>How-To-Repeat:
	cd /usr/ports/devel/sip
	make
>Fix:

	Some of the problems can be fixed with this patch, but not everything:


diff -cr ../sip.orig/Makefile ./Makefile
*** ../sip.orig/Makefile	Wed Jan 15 17:04:26 2003
--- ./Makefile	Wed Jan 15 17:15:37 2003
***************
*** 13,18 ****
--- 13,20 ----
  
  MAINTAINER=	nbm@FreeBSD.org
  
+ BUILD_DEPENDS=	tmake:${PORTSDIR}/devel/tmake
+ 
  USE_PYTHON=	yes
  USE_QT_VER=	3
  INSTALLS_SHLIB=	yes
***************
*** 22,28 ****
  
  do-configure:
  	@${MKDIR} ${WRKDIR}/headers ${WRKDIR}/binaries ${WRKDIR}/modules
! 	@( cd ${WRKSRC} && ${PYTHON_CMD} build.py -q ${X11BASE} \
  		-e ${WRKDIR}/headers -b ${WRKDIR}/binaries -d ${WRKDIR}/modules )
  
  do-install:
--- 24,31 ----
  
  do-configure:
  	@${MKDIR} ${WRKDIR}/headers ${WRKDIR}/binaries ${WRKDIR}/modules
! 	@( cd ${WRKSRC} && env TMAKEPATH=-unix ${PYTHON_CMD} build.py -q ${X11BASE} \
! 		-i/usr/X11R6/include/qt2/ \
  		-e ${WRKDIR}/headers -b ${WRKDIR}/binaries -d ${WRKDIR}/modules )
  
  do-install:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->nbm 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Feb 12 17:19:37 PST 2003 
Responsible-Changed-Why:  
Over to the maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47107 
State-Changed-From-To: open->closed 
State-Changed-By: nbm 
State-Changed-When: Wed Aug 13 02:42:27 PDT 2003 
State-Changed-Why:  
sip port updated to 3.7 in PR 55019 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47107 
>Unformatted:
