diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-09 20:27:10 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-09 20:27:10 +0000 |
commit | 72ba0c6c135cad9876c31d4b524085a9c3e20874 (patch) | |
tree | e8b9761faf8cb0f6515672d60ccdc7a0d965c6ab /print | |
parent | - Fix build on AMD64 (diff) |
- Fix build on AMD64
- Respect CC and CFLAGS
Approved by: maintainer informed
Diffstat (limited to 'print')
-rw-r--r-- | print/clibpdf/files/patch-aa | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/print/clibpdf/files/patch-aa b/print/clibpdf/files/patch-aa index 2e3057048cb9..97a81795db46 100644 --- a/print/clibpdf/files/patch-aa +++ b/print/clibpdf/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.FreeBSD.orig Sun Nov 21 14:54:44 1999 -+++ Makefile.FreeBSD Tue Aug 22 22:23:03 2000 +--- Makefile.FreeBSD.orig Sun Nov 21 06:54:44 1999 ++++ Makefile.FreeBSD Mon Feb 9 21:24:05 2004 @@ -1,8 +1,8 @@ # Makefile for ClibPDF library - FreeBSD/gcc # make lib; make install OR make shlib; make shinstall @@ -11,6 +11,19 @@ # LIB_FILE=libcpdfpm.a # SHLIB_FILE=libcpdfpm.sl +@@ -11,10 +11,10 @@ + + + #CC=cc +-CC=gcc ++CC?=gcc + + #CFLAGS= -O +-CFLAGS=-Wall -g -DFreeBSD ++CFLAGS+=-Wall -g -DFreeBSD -fPIC + #CFLAGS=-Wall -g -DFreeBSD -DUSE_LIBTIFF + + #For GCC, if you want to pack structure @@ -75,7 +75,7 @@ $(SHLIB_FILE): $(OBJS) $(POBJS) $(ZOBJS) Makefile |