aboutsummaryrefslogtreecommitdiff
path: root/audio/rawrec
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
commitb185046be2ec03555daaf4f26d38542c403a9955 (patch)
tree0274ce607614533de66837fc1f70d4c35770d9e1 /audio/rawrec
parent88d002074007544d532f2495aeb93729291e6275 (diff)
downloadports-b185046be2ec03555daaf4f26d38542c403a9955.tar.gz
ports-b185046be2ec03555daaf4f26d38542c403a9955.zip
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
Notes
Notes: svn path=/head/; revision=84842
Diffstat (limited to 'audio/rawrec')
-rw-r--r--audio/rawrec/Makefile9
1 files changed, 4 insertions, 5 deletions
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