diff --git a/games/heroes/Makefile b/games/heroes/Makefile index 9ca3b0d7e9f7a..b7241c3da0675 100644 --- a/games/heroes/Makefile +++ b/games/heroes/Makefile @@ -20,14 +20,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsmpeg.so:multimedia/smpeg -USES= gettext gmake iconv makeinfo sdl +USES= gettext gmake iconv localbase:ldflags sdl USE_SDL= mixer sdl + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-sdl_mixer=${LOCALBASE} --without-gii --without-ggi -CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split" -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -lpthread -L${LOCALBASE}/lib -lsmpeg -lm +LDFLAGS+= -lpthread -lsmpeg -lm INFO= heroes @@ -52,7 +51,6 @@ post-patch: ${FIND} $${dir} -name "Makefile*" -delete; \ done @${RM} ${WRKSRC}/lib/getopt.h - @${RM} ${WRKSRC}/doc/*.info* post-install: .for dir in levels pics tilesets