Modify to only use gtk2
This commit is contained in:
parent
6c76340a88
commit
1684319ec0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396862
1 changed files with 1 additions and 11 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= gbase
|
||||
PORTVERSION= 0.5
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= converters
|
||||
MASTER_SITES= http://www.fluxcode.net/files/
|
||||
|
||||
|
@ -12,22 +12,12 @@ COMMENT= Program to convert between the 4 common bases used in programming
|
|||
|
||||
LICENSE= ART10
|
||||
|
||||
OPTIONS_DEFINE= GTK2
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
USES= pkgconfig
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MGTK2}
|
||||
USE_GNOME+= gtk20
|
||||
GTK_CFLAGS= `pkg-config --cflags gtk+-2.0`
|
||||
GTK_LIBS= `pkg-config --libs gtk+-2.0`
|
||||
.else
|
||||
USE_GNOME+= gtk12
|
||||
GTK_CFLAGS= `pkg-config --cflags gtk+`
|
||||
GTK_LIBS= `pkg-config --libs gtk+`
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
|
|
Loading…
Reference in a new issue