ports/139107: [patch] sysutils/jfbterm: convert to bsdmake

Anonymous swell.k at gmail.com
Mon May 3 22:20:03 UTC 2010


The following reply was made to PR ports/139107; it has been noted by GNATS.

From: Anonymous <swell.k at gmail.com>
To: bug-followup at 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 ---



More information about the freebsd-ports-bugs mailing list