diff --git a/www/unit-go/Makefile b/www/unit-go/Makefile index 8fca9d7955d2..e003282ea677 100644 --- a/www/unit-go/Makefile +++ b/www/unit-go/Makefile @@ -1,33 +1,33 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PKGNAMESUFFIX= -go COMMENT= Go module for NGINX Unit USES= go PLIST_FILES= # reset to empty PLIST_DIRS= # reset to empty PLIST= ${.CURDIR}/pkg-plist USE_RC_SUBR?= # reset to empty MASTERDIR= ${.CURDIR}/../unit CGO_CFLAGS+= -I${WRKSRC}/src -I${WRKSRC}/build GO_PKGNAME= nginx/unit post-extract: @true # override master's post-configure: cd ${WRKSRC} && ${SETENV} ${GO_ENV} ./configure go --go-path=${WRKDIR} pre-build: - cd ${WRKSRC} && ${MAKE} go-install + cd ${WRKSRC} && ${MAKE} && ${MAKE} go-install post-install: @true # override master's .include "${MASTERDIR}/Makefile"