diff options
author | krion <krion@FreeBSD.org> | 2004-02-09 20:27:10 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-02-09 20:27:10 +0000 |
commit | a1e701ecd4a926061e3e88a983d1fde83b417f45 (patch) | |
tree | f34579c41cfd97ebaceda828d367175976cf186b /print/clibpdf/files | |
parent | 1b0f736c15c9497af748233f4498de9516747a46 (diff) | |
download | FreeBSD-ports-a1e701ecd4a926061e3e88a983d1fde83b417f45.zip FreeBSD-ports-a1e701ecd4a926061e3e88a983d1fde83b417f45.tar.gz |
- Fix build on AMD64
- Respect CC and CFLAGS
Approved by: maintainer informed
Diffstat (limited to 'print/clibpdf/files')
-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 2e30570..97a8179 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 |