summaryrefslogblamecommitdiff
path: root/misc/chmlib/files/patch-Makefile
blob: f34d5f7ae7c95c33742165d39c2ab1c5af041197 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                








                                                                    
                                   






                                                                        
--- 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.
 #
 #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 -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