diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2012-09-04 03:46:41 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2012-09-04 03:46:41 +0800 |
commit | c57a90b2fa8af538ba6b04a15389b32936e02780 (patch) | |
tree | 16ec5be14a0334de5d347bae1ead3cb6d7dcf084 | |
parent | c357b629587f3500c84968d4512913a565c9b0fe (diff) | |
download | freebsd-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)
-rw-r--r-- | textproc/uni2ascii/Makefile | 10 |
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> |