Index: Makefile =================================================================== RCS file: /home/ncvs/ports/irc/irssi/Makefile,v retrieving revision 1.78 diff -u -u -r1.78 Makefile --- Makefile 7 Feb 2004 06:38:29 -0000 1.78 +++ Makefile 7 Feb 2004 12:28:50 -0000 @@ -18,16 +18,23 @@ GNU_CONFIGURE= yes WANT_GNOME= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAN1= irssi.1 -.include +# Set option defaults. + +.if ! defined(WITH_SSL) +WITH_SSL= yes +.endif -.if ${OSVERSION} >= 502000 -BROKEN= "Does not compile" +.if ${WITH_SSL:L} == "no" +CONFIGURE_ARGS+= --disable-ssl +.else +USE_OPENSSL= yes .endif -# Set option defaults. +.include .if ! defined(WITH_GLIB) .if exists(${LOCALBASE}/include/glib-2.0/glib.h) @@ -53,10 +60,6 @@ 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 @@ .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 @@ @${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 \