1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Don't try to run wxconfig if it doesn't exist; simply

depend on gtk12 in that case.
This commit is contained in:
Bill Fenner 2003-04-22 22:07:02 +00:00
parent 608ef6a719
commit 50fb7927fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79477
3 changed files with 12 additions and 0 deletions

View File

@ -52,8 +52,12 @@ post-install:
.include <bsd.port.pre.mk>
.if exists(${WX_CONFIG})
# detect if wxgtk was linked against gtk1 or gtk2
DECISION_GTK_1_OR_2!= ${WX_CONFIG} --cppflags
.else
DECISION_GTK_1_OR_2= ""
.endif
.if (${DECISION_GTK_1_OR_2:Mgtk2} != "")
USE_GNOME+= gtk20

View File

@ -52,8 +52,12 @@ post-install:
.include <bsd.port.pre.mk>
.if exists(${WX_CONFIG})
# detect if wxgtk was linked against gtk1 or gtk2
DECISION_GTK_1_OR_2!= ${WX_CONFIG} --cppflags
.else
DECISION_GTK_1_OR_2= ""
.endif
.if (${DECISION_GTK_1_OR_2:Mgtk2} != "")
USE_GNOME+= gtk20

View File

@ -52,8 +52,12 @@ post-install:
.include <bsd.port.pre.mk>
.if exists(${WX_CONFIG})
# detect if wxgtk was linked against gtk1 or gtk2
DECISION_GTK_1_OR_2!= ${WX_CONFIG} --cppflags
.else
DECISION_GTK_1_OR_2= ""
.endif
.if (${DECISION_GTK_1_OR_2:Mgtk2} != "")
USE_GNOME+= gtk20