summaryrefslogtreecommitdiffstats
path: root/print/clibpdf/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-09 20:27:10 +0000
committerkrion <krion@FreeBSD.org>2004-02-09 20:27:10 +0000
commita1e701ecd4a926061e3e88a983d1fde83b417f45 (patch)
treef34579c41cfd97ebaceda828d367175976cf186b /print/clibpdf/files
parent1b0f736c15c9497af748233f4498de9516747a46 (diff)
downloadFreeBSD-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-aa17
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
OpenPOWER on IntegriCloud