aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-2/files/patch-sablot+Sablot-0.52.patch
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-2/files/patch-sablot+Sablot-0.52.patch')
-rw-r--r--editors/openoffice.org-2/files/patch-sablot+Sablot-0.52.patch41
1 files changed, 30 insertions, 11 deletions
diff --git a/editors/openoffice.org-2/files/patch-sablot+Sablot-0.52.patch b/editors/openoffice.org-2/files/patch-sablot+Sablot-0.52.patch
index 83fa18b6d11e..c121e1997e32 100644
--- a/editors/openoffice.org-2/files/patch-sablot+Sablot-0.52.patch
+++ b/editors/openoffice.org-2/files/patch-sablot+Sablot-0.52.patch
@@ -1,11 +1,30 @@
---- ../sablot/Sablot-0.52.patch.orig Sat Mar 2 22:30:15 2002
-+++ ../sablot/Sablot-0.52.patch Sat Mar 2 22:30:42 2002
-@@ -85,7 +85,7 @@
- ! CFLAGS+= -DHAVE_IEEEFP_H
- ! .ENDIF
- !
--! .IF "$(OS)"=="LINUX" || "$(OS)"=="MACOSX" || "$(OS)"=="IRIX"
-+! .IF "$(OS)"=="LINUX" || "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD" || "$(OS)"=="IRIX"
- ! CFLAGS+= -DHAVE_UNISTD_H
- ! .ENDIF
- !
+--- ../sablot/Sablot-0.52.patch.orig Mon Mar 4 22:04:27 2002
++++ ../sablot/Sablot-0.52.patch Mon Mar 4 22:05:40 2002
+@@ -3,7 +3,7 @@
+ ***************
+ *** 1 ****
+ ! dummy
+---- 1,147 ----
++--- 1,151 ----
+ ! #*************************************************************************
+ ! #
+ ! # $RCSfile: makefile.mk,v $
+@@ -85,12 +85,17 @@
+ ! CFLAGS+= -DHAVE_IEEEFP_H
+ ! .ENDIF
+ !
+-! .IF "$(OS)"=="LINUX" || "$(OS)"=="MACOSX"
++! .IF "$(OS)"=="LINUX" || "$(OS)"=="MACOSX" || "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ ! CFLAGS+= -DHAVE_UNISTD_H
+ ! .ENDIF
+ !
+ ! .IF "$(GUI)"=="UNX"
++
++! .IF "$(OS)"=="MACOSX" || "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
++! CFLAGS+= -DHAVE_SYS_TIMEB_H -DHAVE_GETTIMEOFDAY -DHAVE_ISNAN -DHAVE_FINITE
++! .ELSE
+ ! CFLAGS+= -DHAVE_SYS_TIMEB_H -DHAVE_FTIME -DHAVE_ISNAN -DHAVE_FINITE
++! .ENDIF
+ ! .ENDIF
+ !
+ ! CFLAGS+= -I$(SOLARINCDIR)$/external$/expat
82810b0fc7d5



5c621630250f

de3f60b85ba3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37






                                                        
                   
                     
                 
                          
                  
                            
 



                                                                             
                                  

                                     
                 
                                       

                   

                                                                         
 

                                     



                                                                    

                                                                  
                      
# New ports collection makefile for:    eva
# Date created:         16 April 2005
# Whom:             hamigua <hamigua@cuc.cn>
#
# $FreeBSD$
#

PORTNAME=   eva
PORTVERSION=    0.4.1
PORTREVISION=   4
CATEGORIES= net-im kde
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= evaq

PATCH_SITES=    ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
PATCHFILES= eva-0.4.1_20070504.patch.gz
PATCH_DIST_STRIP=   -p1

MAINTAINER= relaxbsd@gmail.com
COMMENT=    QQ IM Client for KDE3

USE_KDELIBS_VER=3
USE_AUTOTOOLS=  libtool:15 autoconf:261
USE_GMAKE=  yes
USE_BZIP2=  yes
MAKE_ARGS=  ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
        AUTOHEADER="${TRUE}"

WRKSRC=     ${WRKDIR}/${PORTNAME}

post-patch:
    @${REINPLACE_CMD} -e 's|^\(LIBS\ =\ @LIBS@\)|\1 -pthread|' \
        ${WRKSRC}/src/Makefile.in
    @${REINPLACE_CMD} -e 's/-pedantic //g; s/-O2//g; \
        s/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure

.include <bsd.port.mk>