mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
Error on pre-configure if ghostscript-gnu is installed and warn to use ghostscript-gpl instead
Requested by: mezz
This commit is contained in:
parent
3eb6476da3
commit
6869fa842d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210529
@ -21,4 +21,12 @@ USE_GNOME= gnomehack gnomeprefix ltverhack
|
||||
USE_GHOSTSCRIPT=yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
pre-configure:
|
||||
@if [ -n "`${PKG_INFO} -xI '^ghostscript-gnu-[0-9]*'`" ]; then \
|
||||
${ECHO_CMD} "${PKGNAME}: ghostscript-gnu installed, please deinstall ghostscript-gnu"; \
|
||||
${ECHO_CMD} "and use ghostscript-gpl. Make sure you don't have WITH_GHOSTSCRIPT_GNU"; \
|
||||
${ECHO_CMD} "or GHOSTSCRIPT_PORT defined."; \
|
||||
${FALSE}; \
|
||||
fi
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user