svn commit: r303616 - head/textproc/uni2ascii
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Sep 3 19:46:42 UTC 2012
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>
More information about the svn-ports-all
mailing list