mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
- unbreak on 4.x
- www/clearsilver was marked BROKEN on FreeBSD 4.X because of a missing pthread library. However, pthread.h exists on 4.X, and that causes the configure script to get confused. Clearsilver can be built successfully on 4.X as long as the proper HAVE_PTHREAD value is set. PR: ports/106744 Submitted by: Greg Larkin <glarkin_AT_sourcehosting dot net>
This commit is contained in:
parent
8737103be0
commit
a5363d0925
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180306
@ -62,8 +62,11 @@ MAN3= cBroadcast.3 cCreate.3 cDestroy.3 cSignal.3 cWait.3 \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not compile
|
||||
.if ${OSVERSION} >= 500000
|
||||
PATCHDIR= dont-patch
|
||||
PLIST_SUB+= PTHREAD=""
|
||||
.else
|
||||
PLIST_SUB+= PTHREAD="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
17
www/clearsilver/files/patch-configure
Normal file
17
www/clearsilver/files/patch-configure
Normal file
@ -0,0 +1,17 @@
|
||||
--- configure.orig Thu Dec 14 19:15:07 2006
|
||||
+++ configure Thu Dec 14 19:16:25 2006
|
||||
@@ -4969,14 +4969,6 @@
|
||||
fi
|
||||
|
||||
|
||||
- if test $cs_cv_pthread = yes; then
|
||||
- cat >>confdefs.h <<\_ACEOF
|
||||
-#define HAVE_PTHREADS 1
|
||||
-_ACEOF
|
||||
-
|
||||
- EXTRA_UTL_SRC="$EXTRA_UTL_SRC skiplist.c dict.c"
|
||||
- fi
|
||||
-
|
||||
fi
|
||||
|
||||
|
@ -7,7 +7,7 @@ include/ClearSilver/cgi/date.h
|
||||
include/ClearSilver/cgi/html.h
|
||||
include/ClearSilver/cs/cs.h
|
||||
include/ClearSilver/cs_config.h
|
||||
include/ClearSilver/util/dict.h
|
||||
%%PTHREAD%%include/ClearSilver/util/dict.h
|
||||
include/ClearSilver/util/filter.h
|
||||
include/ClearSilver/util/neo_date.h
|
||||
include/ClearSilver/util/neo_err.h
|
||||
@ -20,7 +20,7 @@ include/ClearSilver/util/neo_rand.h
|
||||
include/ClearSilver/util/neo_server.h
|
||||
include/ClearSilver/util/neo_str.h
|
||||
include/ClearSilver/util/rcfs.h
|
||||
include/ClearSilver/util/skiplist.h
|
||||
%%PTHREAD%%include/ClearSilver/util/skiplist.h
|
||||
include/ClearSilver/util/ulist.h
|
||||
include/ClearSilver/util/ulocks.h
|
||||
include/ClearSilver/util/wildmat.h
|
||||
|
Loading…
Reference in New Issue
Block a user