While gnuplot does not use libXaw, it does use one of the package's

dependencies(xorgproto), which nowe ends up missing in an x11-only build.

Let me guess - the change wasn't build-tested?
This commit is contained in:
hauke 2023-03-31 15:04:12 +00:00
parent db2ab0bab6
commit 3934596de4
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.168 2023/03/16 09:48:12 wiz Exp $
# $NetBSD: Makefile,v 1.169 2023/03/31 15:04:12 hauke Exp $
DISTNAME= gnuplot-5.4.6
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES+= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/}

View file

@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.20 2023/03/16 09:48:12 wiz Exp $
# $NetBSD: options.mk,v 1.21 2023/03/31 15:04:12 hauke Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnuplot
PKG_SUPPORTED_OPTIONS= cairo cerf gd gnuplot-pdf-doc lua qt5 wxwidgets x11
@ -82,6 +82,7 @@ CONFIGURE_ARGS+= --disable-wxwidgets
.if !empty(PKG_OPTIONS:Mx11)
PLIST.x11= yes
.include "../../x11/xorgproto/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-x
.endif