aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3_check
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2003-07-14 10:53:03 +0800
committersf <sf@FreeBSD.org>2003-07-14 10:53:03 +0800
commit971087c2b4d6b0b917e3fac3ac1334b04f7c9907 (patch)
tree7181a8316bbb1b7be4386d9173b3c6ace07025da /audio/mp3_check
parent0cc85c09b55a7d94ca1d7c16c8eedae091f2840c (diff)
downloadfreebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.gz
freebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.zst
freebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.zip
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
Diffstat (limited to 'audio/mp3_check')
-rw-r--r--audio/mp3_check/Makefile5
-rw-r--r--audio/mp3_check/files/patch-aa4
2 files changed, 6 insertions, 3 deletions
diff --git a/audio/mp3_check/Makefile b/audio/mp3_check/Makefile
index 83ce30ad7989..6438aa7333c0 100644
--- a/audio/mp3_check/Makefile
+++ b/audio/mp3_check/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mp3_check
PORTVERSION= 1.98
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mp3check
@@ -14,6 +15,8 @@ MASTER_SITE_SUBDIR= mp3check
MAINTAINER= ericb@thedeepsky.com
COMMENT= Verifies the integrity of mp3 audio files
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+USE_GETOPT_LONG=yes
+MAKE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
.include <bsd.port.mk>
diff --git a/audio/mp3_check/files/patch-aa b/audio/mp3_check/files/patch-aa
index 25fe0e723dce..d75fed36f1db 100644
--- a/audio/mp3_check/files/patch-aa
+++ b/audio/mp3_check/files/patch-aa
@@ -6,8 +6,8 @@
LOCALBASE ?= /usr/local
-CFLAGS += -Wall -Werror
-OPT_FLAGS = -L${LOCALBASE}/lib
-+CFLAGS += -Wall -I${LOCALBASE}/include
-+OPT_FLAGS = -L${LOCALBASE}/lib -lgnugetopt
++CFLAGS += -Wall ${CPPFLAGS}
++OPT_FLAGS = -L${LOCALBASE}/lib ${LDFLAGS}
OBJS = mp3_check.o \
mp3_check_misc.o