Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2001 03:30:04 -0700 (PDT)
From:      Mamoru Iwaki <iwaki@bsp.bc.niigata-u.ac.jp>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/24467: new ports graphics/libfpx
Message-ID:  <200107031030.f63AU4p90585@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/24467; it has been noted by GNATS.

From: Mamoru Iwaki <iwaki@bsp.bc.niigata-u.ac.jp>
To: freebsd-gnats-submit@FreeBSD.org, mi@aldan.algebra.com
Cc:  
Subject: Re: ports/24467: new ports graphics/libfpx
Date: Tue, 03 Jul 2001 19:23:37 +0900

 Hi, 
 
 On my PentiumPro machine with 4.3-stable, libfpx ports cannot be
 compiled as bellow.  An easy way to clear the problem, I think, is
 the following modifications in Makefile, i.e. using `configure`.  
 Now my question is 
 
 Why need files/Makefile.BSD? 
 
 It looks ad-hoc and very particular to FreeBSD.  
 The use of `configure` is recommended in the installation
 instruction of this software, and it is a more generic solution for
 portability for the future even if no error is observed now in daily
 rebuild of this port.  
 
 #Of cause, at least, the dependency and pkg-plist will be adjusted
 #to bring the modification to complition.  
 
 =====< MODIFICATION >=====
 --- Makefile.org        Sun Mar 11 05:35:18 2001
 +++ Makefile    Tue May  1 23:19:54 2001
 @@ -22,6 +22,9 @@
  
  WRKSRC=                ${WRKDIR}/lib${DISTNAME}
  
 +HAS_CONFIGURE= yes
 +CONFIGURE_ARGS= --enable-shared
 +
  post-patch:
         # Replacing references to <malloc.h> with <stdlib.h>
         # Ignore the /dev/stderr warning below. (What a hack!)
 @@ -29,6 +32,6 @@
                 `find ${WRKSRC} -type f | xargs ${GREP} -l '<malloc.h>'` /dev/stderr
  
  INSTALLS_SHLIB=        yes
 -MAKEFILE=      ${FILESDIR}/Makefile.bsd
 +#MAKEFILE=     ${FILESDIR}/Makefile.bsd
  
  .include <bsd.port.mk>
 =====< MODIFICATION >=====
 
 =====< error example >=====
 c++  -O -pipe -march=pentiumpro -I/usr/local/include -D_UNIX
 -fno-rtti -fno-exceptions
 -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/oless/h
 -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/jpeg
 -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/ole
 -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/basics
 -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/ri_image
 -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/oless
 -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/fpx
 -c
 /amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/ri_image/cp32to24.cpp
 -o cp32to24.o
 /amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/ri_image/cp32to24.cpp:
 In method `Boolean obj_Compresseur32Vers24::Decompresse(int8 *,
 short int, short int, int8 *, long int)':
 /amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/ri_
 image/cp32to24.cpp:154: implicit declaration of function `int assert(...)'
 *** Error code 1
 =====< error example >=====
 --- 
 -----
 Mamoru IWAKI   (iwaki@bc.niigata-u.ac.jp)
 Graduate School of Science and Technology, Niigata University

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




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