Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2006 19:49:06 -0700 (PDT)
From:      Jack Twilley <jmt@twilley.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97871: splat-1.1.1 now has srtm2sdf
Message-ID:  <20060525024906.253FA58BB1@alpha.twilley.org>
Resent-Message-ID: <200605250250.k4P2oER5006264@freefall.freebsd.org>

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

>Number:         97871
>Category:       ports
>Synopsis:       splat-1.1.1 now has srtm2sdf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 25 02:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jack Twilley
>Release:        FreeBSD 5.5-PRERELEASE i386
>Organization:
Just another user
>Environment:
System: FreeBSD alpha.twilley.org 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #8: Mon Apr 3 14:38:32 PDT 2006 root@alpha.twilley.org:/usr/obj/usr/src/sys/ALPHA i386


	
>Description:
	The latest version of splat includes a new binary.  I patched the
	Makefile to support this new binary.  I tested for install and 
	deinstall and it should work -- I recommend at least one other
	person test it before it is committed.
>How-To-Repeat:
	Build the splat port.
	Try to find srtm2sdf.  It's not installed because it's not built
	by default.  Oh no.
>Fix:
	Apply the patch attached to this message.

*** Makefile.orig	Tue May  2 13:30:07 2006
--- Makefile	Mon May 22 12:17:17 2006
***************
*** 15,21 ****
  COMMENT=	Used in calculating path losses, useful to ham radio and others
  
  PORTDOCS=	README README2 CHANGES
! PLIST_FILES=	bin/splat bin/citydecoder bin/usgs2sdf bin/fontdata
  MAN1=		splat.1
  
  do-build:
--- 15,21 ----
  COMMENT=	Used in calculating path losses, useful to ham radio and others
  
  PORTDOCS=	README README2 CHANGES
! PLIST_FILES=	bin/splat bin/citydecoder bin/usgs2sdf bin/srtm2sdf bin/fontdata
  MAN1=		splat.1
  
  do-build:
***************
*** 24,33 ****
  	cd ${WRKSRC}/utils && \
  		${CC} ${CFLAGS} -o citydecoder citydecoder.c && \
  		${CC} ${CFLAGS} -o usgs2sdf usgs2sdf.c && \
  		${CC} ${CFLAGS} -lz -o fontdata fontdata.c
  
  do-install:
! .for f in splat utils/citydecoder utils/usgs2sdf utils/fontdata
  	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
  .endfor
  	${INSTALL_MAN} ${WRKSRC}/docs/man/splat.1 ${MAN1PREFIX}/man/man1
--- 24,34 ----
  	cd ${WRKSRC}/utils && \
  		${CC} ${CFLAGS} -o citydecoder citydecoder.c && \
  		${CC} ${CFLAGS} -o usgs2sdf usgs2sdf.c && \
+ 		${CC} ${CFLAGS} -lbz2 -o srtm2sdf srtm2sdf.c && \
  		${CC} ${CFLAGS} -lz -o fontdata fontdata.c
  
  do-install:
! .for f in splat utils/citydecoder utils/usgs2sdf utils/srtm2sdf utils/fontdata
  	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
  .endfor
  	${INSTALL_MAN} ${WRKSRC}/docs/man/splat.1 ${MAN1PREFIX}/man/man1

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



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