1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add a patch to devel/libantlr3c to define ANTLR3_USE_64BIT on 64-bit

architectures and bump dependent ports
- Patch configure to respect CFLAGS
This commit is contained in:
Tijl Coosemans 2014-07-15 14:21:30 +00:00
parent c0a31965b7
commit d3116291b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361924
4 changed files with 26 additions and 3 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= libantlr3c
PORTVERSION= 3.4
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.antlr3.org/download/C/

View File

@ -0,0 +1,13 @@
--- antlr3config.h.in.orig
+++ antlr3config.h.in
@@ -4,7 +4,9 @@
#undef ANTLR3_NODEBUGGER
/* Define if 64 bit mode required */
-#undef ANTLR3_USE_64BIT
+#ifdef _LP64
+#define ANTLR3_USE_64BIT
+#endif
/* Define to 1 if you have the `accept' function. */
#undef HAVE_ACCEPT

View File

@ -1,6 +1,14 @@
--- configure.orig 2014-06-29 05:47:03.653220480 +0600
+++ configure 2014-06-29 05:52:37.044197079 +0600
@@ -10721,7 +10721,7 @@
@@ -10657,7 +10657,6 @@
;;
esac
-CFLAGS="$CCFLAGS64 $CPPCMNTFLAGS $OPTIMFLAGS $DEBUGFLAGS $WARNFLAGS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFLAGS" >&5
$as_echo "$CFLAGS" >&6; }
@@ -10721,7 +10720,7 @@
# Checks for header files.
$ac_includes_default
@ -9,7 +17,7 @@
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TYPES_H
@@ -10736,6 +10736,10 @@
@@ -10736,6 +10735,10 @@
#ifdef HAVE_NETDB_H
# include <netdb.h>
#endif
@ -20,7 +28,7 @@
"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
@@ -10818,23 +10822,6 @@
@@ -10818,23 +10821,6 @@
done

View File

@ -2,6 +2,7 @@
PORTNAME= belle-sip
PORTVERSION= 1.3.0
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SAVANNAH/linphone/${PORTNAME}/:source1 \
http://www.antlr3.org/download/:source2