1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Move USE_OPENSSL and USE_PYTHON above of bsd.port.mk

PR:		ports/57502
Submitted by:	eik
This commit is contained in:
Sergey Matveychuk 2005-05-14 21:46:43 +00:00
parent ade6ec6273
commit bea951197b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135264
2 changed files with 26 additions and 26 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= xchat
PORTVERSION= 1.8.11
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES+= irc gnome ipv6
MASTER_SITES= http://xchat.org/files/source/1.8/ \
http://xchat.linuxpower.org/files/source/1.8/
@ -36,6 +36,18 @@ CONFIGURE_ARGS+= --without-included-gettext \
--datadir="${PREFIX}/share" \
--enable-perl
.if defined(WITH_SSL)
USE_OPENSSL= YES
CONFIGURE_ARGS+= --enable-openssl
.endif
.if defined(WITH_PYTHON)
USE_PYTHON= yes
CONFIGURE_ARGS+= --enable-python
.else
CONFIGURE_ARGS+= --disable-python
.endif
.include <bsd.port.pre.mk>
.if defined(WITH_SOCKS)
@ -44,11 +56,6 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
CONFIGURE_ARGS+= --enable-socks
.endif
.if defined(WITH_SSL)
USE_OPENSSL= YES
CONFIGURE_ARGS+= --enable-openssl
.endif
.if defined(WITH_TRANSPARENCY)
BUILD_DEPENDS+= ${X11BASE}/bin/gdk-pixbuf-config:${PORTSDIR}/graphics/gdk-pixbuf
CONFIGURE_ARGS+= --enable-gdk-pixbuf
@ -64,13 +71,6 @@ MAKE_ARGS= icondir="${PREFIX}/share/gnome/pixmaps" \
CONFIGURE_ARGS+= --disable-gnome --disable-zvt
.endif
.if defined(WITH_PYTHON)
USE_PYTHON= yes
CONFIGURE_ARGS+= --enable-python
.else
CONFIGURE_ARGS+= --disable-python
.endif
post-patch:
@${PERL} -pi \
-e 's|-lpthread|${PTHREAD_LIBS}|g;' \

View File

@ -7,7 +7,7 @@
PORTNAME= xchat
PORTVERSION= 1.8.11
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES+= irc gnome ipv6
MASTER_SITES= http://xchat.org/files/source/1.8/ \
http://xchat.linuxpower.org/files/source/1.8/
@ -36,6 +36,18 @@ CONFIGURE_ARGS+= --without-included-gettext \
--datadir="${PREFIX}/share" \
--enable-perl
.if defined(WITH_SSL)
USE_OPENSSL= YES
CONFIGURE_ARGS+= --enable-openssl
.endif
.if defined(WITH_PYTHON)
USE_PYTHON= yes
CONFIGURE_ARGS+= --enable-python
.else
CONFIGURE_ARGS+= --disable-python
.endif
.include <bsd.port.pre.mk>
.if defined(WITH_SOCKS)
@ -44,11 +56,6 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
CONFIGURE_ARGS+= --enable-socks
.endif
.if defined(WITH_SSL)
USE_OPENSSL= YES
CONFIGURE_ARGS+= --enable-openssl
.endif
.if defined(WITH_TRANSPARENCY)
BUILD_DEPENDS+= ${X11BASE}/bin/gdk-pixbuf-config:${PORTSDIR}/graphics/gdk-pixbuf
CONFIGURE_ARGS+= --enable-gdk-pixbuf
@ -64,13 +71,6 @@ MAKE_ARGS= icondir="${PREFIX}/share/gnome/pixmaps" \
CONFIGURE_ARGS+= --disable-gnome --disable-zvt
.endif
.if defined(WITH_PYTHON)
USE_PYTHON= yes
CONFIGURE_ARGS+= --enable-python
.else
CONFIGURE_ARGS+= --disable-python
.endif
post-patch:
@${PERL} -pi \
-e 's|-lpthread|${PTHREAD_LIBS}|g;' \