mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
bc25ade382
even i386 before, and does not anymore, as its numerous original bugs were exposed by the evolving compiler. It never worked on a 64-bit platform, as the original authors assumed sizeof(long) to be 4. With this patch it compiles cleanly (WARNS=3) on both i386 and amd64 and should have no problems on other 64-bit systems. A corrupt input-file may still result in a crash, but, at least, it works correctly with correct input files. Tested on camera-generated originals kindly provided by the originator of the PR below. Bump PORTREVISION. Approved by: portmgr (pav, after some deliberations) Portmgr advised against bumping the SHLIB_MAJOR. They did not /insist/ so I chose to bump it -- the old version is too broken to have been usable to anybody for years, and the dependant ports (such as Graphics and ImageMagicks) need an easy way to insist on the new version (via LIB_DEPENDS). Was required to fix: 67815
37 lines
989 B
Makefile
37 lines
989 B
Makefile
# New ports collection makefile for: fpx
|
|
# Date created: Jan 10 2001
|
|
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libfpx
|
|
PORTVERSION= 1.2.0.12
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= ehaupt
|
|
PATCHFILES= fpx.mega-patch.2007-11-01.bz2
|
|
PATCH_SITES= http://aldan.algebra.com/~mi/
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
COMMENT= Library routines for working with Flashpix images
|
|
|
|
MAKE_ARGS+= -j`${SYSCTL} -n hw.ncpu`
|
|
USE_BZIP2= yes
|
|
|
|
post-patch:
|
|
${RM} ${WRKSRC}/ri_image/wchar.c ${WRKSRC}/fpx/fpxlib.h
|
|
|
|
USE_LDCONFIG= yes
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
# We want the port's Makefile to build compiler-flags from scratch
|
|
# (based on WARNS= in particular) instead of being influenced by
|
|
# the environment... There is no obvious way to prevent bsd.port.mk
|
|
# from adding CFLAGS and CXXFLAGS to the build environment, so we
|
|
# remove them here.
|
|
MAKE_ENV:= ${MAKE_ENV:NCFLAGS=*:NCXXFLAGS=*}
|