Don't use pread64 and/or lseek64 which are not in FreeBSD libc.
This commit is contained in:
parent
659ef1d0c7
commit
e095ea9f2f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83312
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= chmlib
|
||||
PORTVERSION= 0.3.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://66.93.236.84/~jedwin/projects/chmlib/
|
||||
DISTNAME= ${PORTNAME}-0.31
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- Makefile.orig Sat Apr 5 23:57:17 2003
|
||||
+++ Makefile Sun Apr 6 02:30:25 2003
|
||||
--- Makefile.orig Thu Oct 10 12:25:54 2002
|
||||
+++ Makefile Thu Jun 19 21:34:15 2003
|
||||
@@ -7,11 +7,11 @@
|
||||
# Note: LDFLAGS must contain -lpthread if you are using -DCHM_MT.
|
||||
#
|
||||
@ -9,7 +9,7 @@
|
||||
-INSTALLPREFIX=/usr/local/
|
||||
-CC=gcc-3.2
|
||||
-LD=gcc-3.2
|
||||
+CFLAGS+=-DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -DDMALLOC_DISABLE
|
||||
+CFLAGS+=-DCHM_MT -DDMALLOC_DISABLE
|
||||
+LDFLAGS=${PTHREAD_LIBS}
|
||||
+INSTALLPREFIX=${PREFIX}
|
||||
+#CC=gcc-3.2
|
||||
|
Loading…
Reference in New Issue
Block a user