Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2010 22:20:03 GMT
From:      Anonymous <swell.k@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/139107: [patch] sysutils/jfbterm: convert to bsdmake
Message-ID:  <201005032220.o43MK3jR061679@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/139107; it has been noted by GNATS.

From: Anonymous <swell.k@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/139107: [patch] sysutils/jfbterm: convert to bsdmake
Date: Tue, 04 May 2010 02:11:03 +0400

 Oops, this should fix build on non-utmpx and without iconv systems.
 
 --- jfbterm.diff begins here ---
 --- Makefile~
 +++ Makefile
 @@ -35,6 +35,7 @@ MANCOMPRESSED=	yes
  .if !defined(WITHOUT_ICONV)
  USE_ICONV=	yes
  .else
 +BUILD_DEPENDS+=	${LOCALBASE}/include/iconv.h:${PORTSDIR}/converters/libiconv
  MAKE_ENV+=	WITHOUT_ICONV=
  .endif
  
 --- files/BSDmakefile~
 +++ files/BSDmakefile
 @@ -19,6 +19,10 @@ CFLAGS += -DSYSCONFDIR=\"${PREFIX}/etc\"
  DPADD  += ${LIBUTIL}
  LDADD  += -lutil
  
 +.if exists(/usr/include/utmp.h) || exists(${LOCALBASE}/include/utmp.h)
 +CFLAGS += -DHAVE_UTMP_H
 +.endif
 +
  .if ${ARCH:Mamd64} || ${ARCH:Mi386}
  CFLAGS += -DENABLE_VGA16FB
  .endif
 --- jfbterm.diff ends here ---



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005032220.o43MK3jR061679>