aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/uni2ascii
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2012-09-04 03:46:41 +0800
committerehaupt <ehaupt@FreeBSD.org>2012-09-04 03:46:41 +0800
commitc57a90b2fa8af538ba6b04a15389b32936e02780 (patch)
tree16ec5be14a0334de5d347bae1ead3cb6d7dcf084 /textproc/uni2ascii
parentc357b629587f3500c84968d4512913a565c9b0fe (diff)
downloadfreebsd-ports-gnome-c57a90b2fa8af538ba6b04a15389b32936e02780.tar.gz
freebsd-ports-gnome-c57a90b2fa8af538ba6b04a15389b32936e02780.tar.zst
freebsd-ports-gnome-c57a90b2fa8af538ba6b04a15389b32936e02780.zip
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)
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>