mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Correct glib dependency
This commit is contained in:
parent
fbcda26dae
commit
0186138484
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209792
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= libnids
|
||||
PORTVERSION= 1.21
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= net security
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -19,6 +19,7 @@ OPTIONS= LIBNET "Include code requiring libnet" ON \
|
||||
LIBNET10 "Use the old libnet-1.0.x version" ON \
|
||||
GLIB2 "Use GLIB2 for multiprocessing support" ON
|
||||
|
||||
WANT_GNOME= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
||||
@ -43,7 +44,7 @@ CONFIGURE_ARGS+= --disable-libnet
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_GLIB2)
|
||||
LIB_DEPENDS+= glib-2.0:${PORTSDIR}/devel/glib20
|
||||
USE_GNOME+= glib20
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-libglib
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user