When rebuilding the INDEX with either make index or portsdb -Uu the following warning is generated: Warning: Duplicate INDEX entry: ghostscript-gpl-8.62_2 The cause of the warning is due to the OPTIONSFILE defines at least one of these: WITH_GS_x11 WITH_GS_x11alpha WITH_GS_x11cmyk WITH_GS_x11cmyk2 WITH_GS_x11cmyk4 WITH_GS_x11cmyk8 WITH_GS_x11gray2 WITH_GS_x11gray4 WITH_GS_x11mono WITH_GS_x11rg16x WITH_GS_x11rg32x when WITHOUT_X11 is defined. Which prevents -nox11 being added to PKGNAMESUFFIX. Fix: apply the attached patch. Patch attached with submission follows: How-To-Repeat: $ cd /usr/ports/print/ghoscript-gpl $ make config enable one or more of the GS_x11* option $ make -V PKGNAME ghostscript-gpl-8.62_2 $ cd ../ghostscript-gpl-nox11 $ make -V PKGNAME "/usr/ports/print/ghostscript-gpl-nox11/../ghostscript-gpl/Makefile", line 132: warning: drivers incompatible with WITHOUT_X11 will be removed automatically ghostscript-gpl-8.62_2
Responsible Changed From-To: freebsd-ports-bugs->doceng Over to maintainer.
hrs 2008-10-05 02:43:30 UTC FreeBSD ports repository Modified files: print/ghostscript8 Makefile Log: Fix an issue that print/ghostscript8 does not set PKGNAMESUFFIX (-nox11) correctly when WITHOUT_X11=yes and one of the X11 drivers are specified at a time. PR: ports/123859 Revision Changes Path 1.175 +25 -26 ports/print/ghostscript8/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed with some minor modification. Thanks for your report!