aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-10 04:27:10 +0800
committerkrion <krion@FreeBSD.org>2004-02-10 04:27:10 +0800
commita1e701ecd4a926061e3e88a983d1fde83b417f45 (patch)
treef34579c41cfd97ebaceda828d367175976cf186b /print
parent1b0f736c15c9497af748233f4498de9516747a46 (diff)
downloadfreebsd-ports-gnome-a1e701ecd4a926061e3e88a983d1fde83b417f45.tar.gz
freebsd-ports-gnome-a1e701ecd4a926061e3e88a983d1fde83b417f45.tar.zst
freebsd-ports-gnome-a1e701ecd4a926061e3e88a983d1fde83b417f45.zip
- Fix build on AMD64
- Respect CC and CFLAGS Approved by: maintainer informed
Diffstat (limited to 'print')
-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 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