From 2128843e73d34b081ecfdff7be5006ee27c9baa5 Mon Sep 17 00:00:00 2001 From: 0mp <0mp@FreeBSD.org> Date: Wed, 26 Feb 2020 13:39:05 +0000 Subject: Set USES=localbase instead of modifying CFLAGS and LDFLAGS --- audio/timidity++/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/timidity++/Makefile b/audio/timidity++/Makefile index e3ebeb95dc07..0781741a4797 100644 --- a/audio/timidity++/Makefile +++ b/audio/timidity++/Makefile @@ -20,12 +20,12 @@ LIB_DEPENDS= libarc.so:archivers/libarc \ RUN_DEPENDS= eawpats>0:audio/eawpats .endif -USES= gmake tar:bzip2 +USES= gmake localbase tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ENV+= SHLD="${CC} -shared" -CPPFLAGS+= -I${LOCALBASE}/include/libarc -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -Wl,--export-dynamic +CPPFLAGS+= -I${LOCALBASE}/include/libarc +LDFLAGS+= -Wl,--export-dynamic PLIST_SUB+= TIMID_LIBDIR="${TIMID_LIBDIR}" EUCJP_LOCALE="${EUCJP_LOCALE}" -- cgit