aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2006-01-13 01:52:32 +0800
committerache <ache@FreeBSD.org>2006-01-13 01:52:32 +0800
commit3939bfed35c857b9b786dbee177aa5dbbb33c5a5 (patch)
treeac9fc4f357f287dc2249bdb6cdc089e5834a5ae8
parent96abe15ce458f69f02ee4cd1a18ee250c43bd73b (diff)
downloadfreebsd-ports-gnome-3939bfed35c857b9b786dbee177aa5dbbb33c5a5.tar.gz
freebsd-ports-gnome-3939bfed35c857b9b786dbee177aa5dbbb33c5a5.tar.zst
freebsd-ports-gnome-3939bfed35c857b9b786dbee177aa5dbbb33c5a5.zip
Don't use DESTDIR
Submitted by: "John E. Hein" <jhein@timing.com> PR: 91610
-rw-r--r--graphics/png/files/patch-aa23
1 files changed, 19 insertions, 4 deletions
diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa
index 07184ac7ef82..fea253b6a945 100644
--- a/graphics/png/files/patch-aa
+++ b/graphics/png/files/patch-aa
@@ -1,6 +1,21 @@
---- scripts/makefile.freebsd.orig Sat May 18 18:46:45 2002
-+++ scripts/makefile.freebsd Sun Jan 30 17:33:45 2005
-@@ -24,10 +24,11 @@
+--- scripts/makefile.freebsd.orig Sat May 18 08:46:45 2002
++++ scripts/makefile.freebsd Tue Jan 10 12:05:18 2006
+@@ -12,22 +12,22 @@
+ NOOBJ= YES
+
+ # where make install puts libpng.a and png.h
+-DESTDIR= ${PREFIX}
+-LIBDIR= /lib
++LIBDIR= ${PREFIX}/lib
+ INCS= png.h pngconf.h
+-INCSDIR= /include/libpng
++INCSDIR= ${PREFIX}/include/libpng
+ INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk
+ MAN= libpng.3 libpngpf.3 png.5
+-MANDIR= /man/man
++MANDIR= ${PREFIX}/man/man
+ SYMLINKS= libpng/png.h ${INCSDIR}/../png.h \
+ libpng/pngconf.h ${INCSDIR}/../pngconf.h
LDADD+= -lm -lz
DPADD+= ${LIBM} ${LIBZ}
@@ -15,7 +30,7 @@
SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \
pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \
-@@ -44,5 +45,23 @@
+@@ -44,5 +44,23 @@
DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO
writelock:
chmod a-w *.[ch35] $(DOCS) scripts/*