diff options
author | vanilla <vanilla@FreeBSD.org> | 2004-02-08 17:02:11 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2004-02-08 17:02:11 +0000 |
commit | 4ed83f8c1eee1edbf4e80d5da4913a0287a9c33d (patch) | |
tree | 3cbbb62c14482e5cc7351203cdcca17375d027c4 /irc/irssi-devel/Makefile | |
parent | 95d11cbcebe7566af2257a4f5fed180c117eaeb0 (diff) | |
download | FreeBSD-ports-4ed83f8c1eee1edbf4e80d5da4913a0287a9c33d.zip FreeBSD-ports-4ed83f8c1eee1edbf4e80d5da4913a0287a9c33d.tar.gz |
- Unbreak on -currnet.
- Put USE_OPENSSL before <bsd.port.pre.mk>
- make configure happy
- make pre-configure target non-fatal. This makes interrupting and resuming
the configure stage possible.
PR: ports/62476
Submitted by: Ulrich Spoerlein <q@uni.de>
Diffstat (limited to 'irc/irssi-devel/Makefile')
-rw-r--r-- | irc/irssi-devel/Makefile | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/irc/irssi-devel/Makefile b/irc/irssi-devel/Makefile index 18b0f57..710caba 100644 --- a/irc/irssi-devel/Makefile +++ b/irc/irssi-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= irssi PORTVERSION= 0.8.9 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= irc MASTER_SITES= http://irssi.org/files/ @@ -18,16 +18,23 @@ USE_BZIP2= yes GNU_CONFIGURE= yes WANT_GNOME= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAN1= irssi.1 -.include <bsd.port.pre.mk> +# Set option defaults. -.if ${OSVERSION} >= 502000 -BROKEN= "Does not compile" +.if ! defined(WITH_SSL) +WITH_SSL= yes .endif -# Set option defaults. +.if ${WITH_SSL:L} == "no" +CONFIGURE_ARGS+= --disable-ssl +.else +USE_OPENSSL= yes +.endif + +.include <bsd.port.pre.mk> .if ! defined(WITH_GLIB) .if exists(${LOCALBASE}/include/glib-2.0/glib.h) @@ -53,10 +60,6 @@ WITH_SOCKS= no WITH_IPV6= yes .endif -.if ! defined(WITH_SSL) -WITH_SSL= yes -.endif - .if ! defined(WITH_BOEHM_GC) WITH_BOEHM_GC= no .endif @@ -105,12 +108,6 @@ CATEGORIES+= ipv6 .endif .endif -.if ${WITH_SSL:L} == "yes" -USE_OPENSSL= yes -.else -CONFIGURE_ARGS+= --disable-ssl -.endif - .if ${WITH_BOEHM_GC:L} == "yes" LIB_DEPENDS+= gc.1:${PORTSDIR}/devel/boehm-gc CONFIGURE_ENV+= CPPFLAGS=-I${PREFIX}/include @@ -136,7 +133,7 @@ pre-extract: @${ECHO} "" pre-configure: - @cd ${WRKSRC} && ${MV} irssi.conf irssi.conf.sample + @cd ${WRKSRC} && ${MV} irssi.conf irssi.conf.sample || ${TRUE} post-install: @if [ ! -f ${LOCALBASE}/etc/irssi.conf ]; then \ |