mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-27 14:00:45 -04:00
28 lines
688 B
Makefile
28 lines
688 B
Makefile
# $NetBSD: options.mk,v 1.1 2009/09/04 21:39:10 asau Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.pspp
|
|
PKG_SUPPORTED_OPTIONS= pgsql x11
|
|
PKG_SUGGESTED_OPTIONS= x11
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
PLIST.x11= yes
|
|
|
|
#CONFIGURE_ARGS+= --without-libplot # :(
|
|
.include "../../graphics/plotutils/buildlink3.mk"
|
|
.include "../../devel/libglade/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-gui --without-libplot
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
CONFIGURE_ARGS+= --with-libpq
|
|
.include "../../databases/postgresql84-client/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-libpq
|
|
.endif
|