From fc992f6dde7a91007fadc567b162b05d3892f9d4 Mon Sep 17 00:00:00 2001 From: John Marino Date: Wed, 24 Jul 2013 14:30:28 +0000 Subject: [PATCH] astro/gpxloggerd: directly link libmath and cleanup - Fixes indirect linking errors on modern binutils (fix from dports) - Trim Makefile header and canonicalize creator's name - Remove leading article from COMMENT - Remove unnecessary library version in LIB_DEPENDS Approved by: culot (mentor), maintainer --- astro/gpxloggerd/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/astro/gpxloggerd/Makefile b/astro/gpxloggerd/Makefile index e15fb79f42ad..88b6982496ad 100644 --- a/astro/gpxloggerd/Makefile +++ b/astro/gpxloggerd/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: gpxloggerd -# Date created: 8 December 2010 -# Whom: glebius -# +# Created by: Gleb Smirnoff # $FreeBSD$ -# PORTNAME= gpxloggerd PORTVERSION= 0.2 @@ -11,14 +7,16 @@ CATEGORIES= astro MASTER_SITES= LOCAL/glebius MAINTAINER= glebius@FreeBSD.org -COMMENT= A daemon that connects to the GPSD daemon and logs GPS traces +COMMENT= Daemon that connects to the GPSD daemon and logs GPS traces -LIB_DEPENDS= gps.20:${PORTSDIR}/astro/gpsd +LIB_DEPENDS= gps:${PORTSDIR}/astro/gpsd USE_RC_SUBR= ${PORTNAME} PLIST_FILES= sbin/${PORTNAME} MAN8= ${PORTNAME}.8 +LDFLAGS+= -lm + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8/