summaryrefslogtreecommitdiff
path: root/misc/chmlib/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-05 18:37:18 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-05 18:37:18 +0000
commitae533b0f5986cd0faaa1eec28e04df8ddf965937 (patch)
treea8abe3d2fd1c35b220b70b2b78dd2e17ca3fc070 /misc/chmlib/files
parentadd 2 patch files and unbreak upnp on FreeBSD 4.x (diff)
add chmlib 0.3.1
A library for dealing with Microsoft ITSS/CHM format files
Notes
Notes: svn path=/head/; revision=78322
Diffstat (limited to 'misc/chmlib/files')
-rw-r--r--misc/chmlib/files/patch-Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/misc/chmlib/files/patch-Makefile b/misc/chmlib/files/patch-Makefile
new file mode 100644
index 000000000000..9e402cd7997e
--- /dev/null
+++ b/misc/chmlib/files/patch-Makefile
@@ -0,0 +1,19 @@
+--- Makefile.orig Sat Apr 5 23:57:17 2003
++++ Makefile Sun Apr 6 02:30:25 2003
+@@ -7,11 +7,11 @@
+ # Note: LDFLAGS must contain -lpthread if you are using -DCHM_MT.
+ #
+ #CFLAGS=-DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64
+-CFLAGS=-DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -g -DDMALLOC_DISABLE
+-LDFLAGS=-lpthread
+-INSTALLPREFIX=/usr/local/
+-CC=gcc-3.2
+-LD=gcc-3.2
++CFLAGS+=-DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -DDMALLOC_DISABLE
++LDFLAGS=${PTHREAD_LIBS}
++INSTALLPREFIX=${PREFIX}
++#CC=gcc-3.2
++LD=${CC}
+ LIBTOOL=libtool
+ CP=/bin/cp
+ EXAMPLES=test_chmLib enum_chmLib enumdir_chmLib chm_http extract_chmLib