ports/54797: x11/rxvt-devel doesn't build on 5.1
Rong-en Fan
rafan at infor.org
Thu Jul 24 10:30:14 UTC 2003
>Number: 54797
>Category: ports
>Synopsis: x11/rxvt-devel doesn't build on 5.1
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 24 03:30:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: FreeBSD 5.1-RELEASE i386
>Organization:
NTU CSIE
>Environment:
System: FreeBSD bsd4.csie.ntu.edu.tw 5.1-RELEASE FreeBSD 5.1-RELEASE #6: Tue Jun 24 00:19:41 CST 2003 root at bsd4.csie.ntu.edu.tw:/usr/obj/usr/src/sys/BSD-5 i386
>Description:
x11/rxvt-devel doesn't build on 5.1 because we have
grantpt(3), unlockpt(3) but doesn't support STREAM
thus, it make rxvt's configure think we have STREAM support
>How-To-Repeat:
get a 5.1 box, go x11/rxvt-devel and type make
>Fix:
here is a quick workaround and bump PORTREVISION
originally i also update rxvt-devel to 2.7.10
but it make my term dirty (using the same font/conf of 2.7.8)
i don't know how to fix that, so i just send a quick workaround
for 2.7.8 and not update this port.
--- rxvt-devel.diff starts here ---
diff -ruN rxvt-devel.orig/Makefile rxvt-devel/Makefile
--- rxvt-devel.orig/Makefile Tue Jul 22 18:06:31 2003
+++ rxvt-devel/Makefile Tue Jul 22 18:27:07 2003
@@ -10,7 +10,7 @@
PORTNAME= rxvt
PORTVERSION= 2.7.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES+= x11
MASTER_SITES= ftp://ftp.rxvt.org/pub/rxvt/%SUBDIR%/ \
ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/rxvt/%SUBDIR%/ \
@@ -96,10 +96,6 @@
.endif # WITH_XTERM_SCROLLBAR
.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile"
-.endif
pre-everything::
@${ECHO_MSG}
diff -ruN rxvt-devel.orig/files/patch-configure rxvt-devel/files/patch-configure
--- rxvt-devel.orig/files/patch-configure Thu Jan 1 08:00:00 1970
+++ rxvt-devel/files/patch-configure Tue Jul 22 18:27:44 2003
@@ -0,0 +1,14 @@
+--- configure.orig Tue Jul 22 18:27:18 2003
++++ configure Tue Jul 22 18:27:29 2003
+@@ -8902,11 +8902,8 @@
+ rxvt_cv_ptys=PTC
+ else if test -c /dev/ptmx -a -c /dev/pts/0; then
+ rxvt_cv_ptys=STREAMS
+- else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then
+- rxvt_cv_ptys=STREAMS
+ else
+ rxvt_cv_ptys=BSD
+-fi
+ fi
+ fi
+ fi
--- rxvt-devel.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list