editors/ghostwriter: Fix Makefile causing errors

Using FLAVOR?=${FLAVORS:[0]} confuses the ports make system.

To avoid the issue write the actual flavor string directly.

Reported by:	dvl
Fixes:		6d8e63c53f
This commit is contained in:
Guido Falsi 2023-01-16 00:27:43 +01:00
parent 1fff84120f
commit dafb3cafaf

View File

@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell
FLAVORS= qt5 qt6
FLAVOR?= ${FLAVORS:[0]}
FLAVOR?= qt5
qt5_PKGNAMESUFFIX=
qt6_PKGNAMESUFFIX= -qt6
qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6