Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2012 19:46:42 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303616 - head/textproc/uni2ascii
Message-ID:  <201209031946.q83Jkg9Y034827@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Sep  3 19:46:41 2012
New Revision: 303616
URL: http://svn.freebsd.org/changeset/ports/303616

Log:
  Fix build on 7.x by removing the dependency to devel/libgetline prior to
  800067 and resort to to fgetln().
  
  Notified by:	pointyhat (via beat)

Modified:
  head/textproc/uni2ascii/Makefile

Modified: head/textproc/uni2ascii/Makefile
==============================================================================
--- head/textproc/uni2ascii/Makefile	Mon Sep  3 19:28:44 2012	(r303615)
+++ head/textproc/uni2ascii/Makefile	Mon Sep  3 19:46:41 2012	(r303616)
@@ -25,18 +25,10 @@ MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
 MAN1=		uni2ascii.1 ascii2uni.1
 PLIST_FILES=	bin/uni2ascii bin/ascii2uni
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800067
-LIB_DEPENDS=	getline.1:${PORTSDIR}/devel/libgetline
-LDFLAGS+=	-lgetline
-CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
-.endif
-
 do-install:
 .for f in ${PORTNAME} ascii2uni
 	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${f}.1 ${MAN1PREFIX}/man/man1
 .endfor
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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