From 971087c2b4d6b0b917e3fac3ac1334b04f7c9907 Mon Sep 17 00:00:00 2001 From: sf Date: Mon, 14 Jul 2003 02:53:03 +0000 Subject: get rid of libgnugetopt dependency for -CURRENT, use USE_GETOPT_LONG instead. --- audio/rawrec/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'audio/rawrec') diff --git a/audio/rawrec/Makefile b/audio/rawrec/Makefile index b23e6ce4bd20..27c02312fe67 100644 --- a/audio/rawrec/Makefile +++ b/audio/rawrec/Makefile @@ -8,7 +8,7 @@ PORTNAME= rawrec PORTVERSION= 0.9.97 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SUNSITE} \ ${MASTER_SITE_SOURCEFORGE} @@ -18,15 +18,14 @@ MASTER_SITE_SUBDIR= apps/sound/recorders \ MAINTAINER= ports@FreeBSD.org COMMENT= A utility to record and playback raw audio data -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt - WRKSRC= ${WRKDIR}/${DISTNAME}/src +USE_GETOPT_LONG=yes USE_REINPLACE= yes USE_GMAKE= yes MAKE_ARGS= CC="${CC}" \ - CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="-lgnugetopt -lm ${PTHREAD_LIBS} -L${LOCALBASE}/lib" + CFLAGS="${CPPFLAGS} ${CFLAGS} ${PTHREAD_CFLAGS}" \ + LDFLAGS="${LDFLAGS} -lm ${PTHREAD_LIBS}" MAN1= rawrec.1 MLINKS= rawrec.1 rawplay.1 -- cgit