aboutsummaryrefslogtreecommitdiff
path: root/audio/id3v2
diff options
context:
space:
mode:
Diffstat (limited to 'audio/id3v2')
-rw-r--r--audio/id3v2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/id3v2/Makefile b/audio/id3v2/Makefile
index 9ee61e5d5e15..bd0ea7df7621 100644
--- a/audio/id3v2/Makefile
+++ b/audio/id3v2/Makefile
@@ -18,7 +18,7 @@ COMMENT= Command line id3v2 tag editor
LIB_DEPENDS= id3-3.8.2:${PORTSDIR}/audio/id3lib
USE_GETOPT_LONG=yes
-CPPFLAGS= -I${LOCALBASE}/include
+CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT=1
LDFLAGS= -L${LOCALBASE}/lib
CFLAGS+= ${CPPFLAGS}
MAKE_ENV= LDFLAGS="${LDFLAGS}"