From 2efbeeddf104c629485cbd1c9a894b96403f5112 Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Wed, 11 Dec 2013 00:57:17 +0000 Subject: [PATCH] - Convert USE_GMAKE to USES - Add stage support --- misc/gplink/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/misc/gplink/Makefile b/misc/gplink/Makefile index ff9b5bb4ba35..a02d9e5ae20c 100644 --- a/misc/gplink/Makefile +++ b/misc/gplink/Makefile @@ -15,20 +15,17 @@ LICENSE_COMB= dual WRKSRC= ${WRKDIR}/${DISTNAME}/src -USE_GMAKE= yes +USES= gmake MAKE_ARGS= CC="${CC}" \ CFLAGS="${CFLAGS} ${USB_CFLAGS}" \ LDFLAGS="${USB_LDFLAGS}" PLIST_FILES= bin/gplink -NO_STAGE= yes -.include - USB_CFLAGS= # none USB_LDFLAGS= -lusb do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gplink ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/gplink ${STAGEDIR}${PREFIX}/bin -.include +.include