diff options
author | 0mp <0mp@FreeBSD.org> | 2020-02-26 21:39:05 +0800 |
---|---|---|
committer | 0mp <0mp@FreeBSD.org> | 2020-02-26 21:39:05 +0800 |
commit | 2128843e73d34b081ecfdff7be5006ee27c9baa5 (patch) | |
tree | 8e8e281a9446987b110c236fb12d94169459fac2 | |
parent | 834f3de938714a9cea2f449db2a39601b565079a (diff) | |
download | freebsd-ports-gnome-2128843e73d34b081ecfdff7be5006ee27c9baa5.tar.gz freebsd-ports-gnome-2128843e73d34b081ecfdff7be5006ee27c9baa5.tar.zst freebsd-ports-gnome-2128843e73d34b081ecfdff7be5006ee27c9baa5.zip |
Set USES=localbase instead of modifying CFLAGS and LDFLAGS
-rw-r--r-- | audio/timidity++/Makefile | 6 |
1 files 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}" |