summaryrefslogtreecommitdiff
path: root/editors/bed
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-06-17 06:27:45 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-06-17 06:27:45 +0000
commita2c4cd1ed00e8b48c971f038ea6b99ae55d1fa33 (patch)
tree88d1acb470bbb10505630917c5de35cc97dc53da /editors/bed
parent- drop 4.x (EOL) support (diff)
This port contains an incorrect configure test that tries to test for the
pthread_create() function by doing the following | char pthread_create (); | int | main () | { | pthread_create (); | ; | return 0; | } This is completely bogus (pthread_create() requires arguments), so this causes undefined behaviour. One such undefined behaviour seen in practise is an infinite loop. Disable the port until someone cares to fix this. Also shuffle the rxvt PATCH_DEPENDS (!) later, to give a chance for the WITHOUT_X11 to be set. This also looks pretty bogus, rxvt in fact does not appear to be needed for patching.
Notes
Notes: svn path=/head/; revision=193708
Diffstat (limited to 'editors/bed')
-rw-r--r--editors/bed/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/editors/bed/Makefile b/editors/bed/Makefile
index 1fa2235745a1..b3fae83492b1 100644
--- a/editors/bed/Makefile
+++ b/editors/bed/Makefile
@@ -17,6 +17,8 @@ COMMENT= Variable dataformat binary editor
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
+IGNORE= has a broken test for pthread_create() (wrong prototype and calling conventions) causing an infinite loop.
+
USE_GCC= 3.4
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -29,10 +31,6 @@ MANCOMPRESSED= yes
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_X11)
-PATCH_DEPENDS+= rxvt:${PORTSDIR}/x11/rxvt
-.endif
-
# Check for menubar support in "x11/rxvt". In case of failure, disable X11 if
# BATCH or PACKAGE_BUILDING, and IGNORE otherwise.
.if !defined(WITHOUT_X11)
@@ -49,6 +47,10 @@ IGNORE= needs "x11/rxvt" to be compiled with the WITH_MENUBAR option to enable
.endif
.if !defined(WITHOUT_X11)
+PATCH_DEPENDS+= rxvt:${PORTSDIR}/x11/rxvt
+.endif
+
+.if !defined(WITHOUT_X11)
RUN_DEPENDS+= rxvt:${PORTSDIR}/x11/rxvt
PLIST_SUB+= X11=""
.else