Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2008 13:48:56 GMT
From:      Wen Heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/129788: [Maintainer Update]science/szip:fix the build error reported by pointyhat
Message-ID:  <200812201348.mBKDmuk1041505@www.freebsd.org>
Resent-Message-ID: <200812201350.mBKDo1pR034372@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         129788
>Category:       ports
>Synopsis:       [Maintainer Update]science/szip:fix the build error reported by pointyhat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 20 13:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD 8.0-CURRENT
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT-200811 FreeBSD 8.0-CURRENT-200811 #0: Thu Nov  6 00:32:12 UTC 2008     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
fix the build error reported by pointyhat
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2008-12-20 21:44:48.000000000 +0800
+++ Makefile	2008-12-20 21:32:20.000000000 +0800
@@ -7,6 +7,7 @@
 
 PORTNAME=	szip
 PORTVERSION=	2.1
+PORTREVISION=	1
 CATEGORIES=	science archivers
 MASTER_SITES=	ftp://ftp.hdfgroup.org/lib-external/szip/2.1/src/:src \
 		http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/:doc
@@ -22,6 +23,8 @@
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 DOCFILE=	Release_notes_2_0.pdf
+LDFLAGS+=	-lm
+CONFIGURE_ARGS+=	LDFLAGS="${LDFLAGS}"
 
 post-install:
 .if !defined(NOPORTDOCS)


>Release-Note:
>Audit-Trail:
>Unformatted:



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