summaryrefslogtreecommitdiff
path: root/textproc/uni2ascii
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2012-09-03 19:46:41 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2012-09-03 19:46:41 +0000
commitb05add0bb988e6fddda7ed993775fde4a6b7b818 (patch)
tree16ec5be14a0334de5d347bae1ead3cb6d7dcf084 /textproc/uni2ascii
parentUpdate to latest versions (diff)
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)
Notes
Notes: svn path=/head/; revision=303616
Diffstat (limited to 'textproc/uni2ascii')
-rw-r--r--textproc/uni2ascii/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/textproc/uni2ascii/Makefile b/textproc/uni2ascii/Makefile
index eca9a906e7d5..6bed97f529e9 100644
--- a/textproc/uni2ascii/Makefile
+++ b/textproc/uni2ascii/Makefile
@@ -25,18 +25,10 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
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>