From owner-freebsd-ports Tue Jul 3 3:30: 8 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DEBDA37B405 for ; Tue, 3 Jul 2001 03:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f63AU4p90585; Tue, 3 Jul 2001 03:30:04 -0700 (PDT) (envelope-from gnats) Date: Tue, 3 Jul 2001 03:30:04 -0700 (PDT) Message-Id: <200107031030.f63AU4p90585@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Mamoru Iwaki Subject: Re: ports/24467: new ports graphics/libfpx Reply-To: Mamoru Iwaki Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/24467; it has been noted by GNATS. From: Mamoru Iwaki 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 with # Ignore the /dev/stderr warning below. (What a hack!) @@ -29,6 +32,6 @@ `find ${WRKSRC} -type f | xargs ${GREP} -l ''` /dev/stderr INSTALLS_SHLIB= yes -MAKEFILE= ${FILESDIR}/Makefile.bsd +#MAKEFILE= ${FILESDIR}/Makefile.bsd .include =====< 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