mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
make gconf support optional
This commit is contained in:
parent
d54475429d
commit
53fc7f22a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201521
@ -16,12 +16,26 @@ COMMENT= A BSD licenced configuration database system
|
||||
|
||||
LIB_DEPENDS= mowgli.1:${PORTSDIR}/devel/libmowgli
|
||||
|
||||
OPTIONS= GCONF "Enable gconf support" on
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= pkgconfig
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_GCONF)
|
||||
USE_GNOME+= gconf2
|
||||
CONFIGURE_ARGS+=--enable-gconf
|
||||
PLIST_SUB= GCONF=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-gconf
|
||||
PLIST_SUB= GCONF="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -8,7 +8,7 @@ lib/libmcs.so
|
||||
lib/libmcs.so.1
|
||||
lib/libmcs.so.1.0.0
|
||||
lib/mcs/keyfile.so
|
||||
lib/mcs/gconf.so
|
||||
%%GCONF%%lib/mcs/gconf.so
|
||||
libdata/pkgconfig/libmcs.pc
|
||||
@dirrm include/libmcs
|
||||
@dirrm lib/mcs
|
||||
|
Loading…
x
Reference in New Issue
Block a user