diff --git a/multimedia/gst123/Makefile b/multimedia/gst123/Makefile index 590cd49ce568..f3b9ade6dbd3 100644 --- a/multimedia/gst123/Makefile +++ b/multimedia/gst123/Makefile @@ -19,8 +19,15 @@ GNU_CONFIGURE= yes PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz +.include + +.if ${OPSYS}_${OSREL:R} == FreeBSD_13 +CONFIGURE_ENV= NCURSES_CFLAGS=-I${NCURSESINC} NCURSES_LIBS=-L${NCURSESLIB} +LDFLAGS+= ${TINFO_LIB} +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 -.include +.include