summaryrefslogtreecommitdiff
path: root/graphics/hp2xx/patches
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-02-18 15:14:00 +0000
committerseb <seb@pkgsrc.org>2002-02-18 15:14:00 +0000
commit66111c6d15be91debc28f649061f5ed03d48e340 (patch)
treec84409a165bd501342b10b825394cf1eb3684d02 /graphics/hp2xx/patches
parent0b7fe93445e5b9c2ed4f512cd83d2c904922531b (diff)
downloadpkgsrc-66111c6d15be91debc28f649061f5ed03d48e340.tar.gz
Introduce new framework for handling info files generation and installation.
Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information.
Diffstat (limited to 'graphics/hp2xx/patches')
-rw-r--r--graphics/hp2xx/patches/patch-ab32
1 files changed, 24 insertions, 8 deletions
diff --git a/graphics/hp2xx/patches/patch-ab b/graphics/hp2xx/patches/patch-ab
index 93d065e2bbf..4db7686c0cb 100644
--- a/graphics/hp2xx/patches/patch-ab
+++ b/graphics/hp2xx/patches/patch-ab
@@ -1,15 +1,25 @@
-$NetBSD: patch-ab,v 1.5 2000/08/31 12:37:02 dmcmahill Exp $
+$NetBSD: patch-ab,v 1.6 2002/02/18 15:14:21 seb Exp $
---- Makefile.orig Thu Aug 31 08:09:46 2000
-+++ Makefile Thu Aug 31 08:10:24 2000
-@@ -35,5 +35,5 @@
+--- Makefile.orig Fri Feb 15 14:23:08 2002
++++ Makefile
+@@ -28,13 +28,13 @@
+
+ CHMOD = chmod
+ CP = cp
+-MKINFO = makeinfo
++MKINFO = $(MAKEINFO)
+ RMCMD = rm -f
+ STRIP = strip
+
# Installation sites (GNU conventions):
#
-prefix = /usr/local
+prefix = ${PREFIX}
bindir = $(prefix)/bin
includedir = $(prefix)/include
-@@ -45,10 +45,10 @@
+ mandir = $(prefix)/man
+@@ -44,12 +44,12 @@
+ # CC and CFLAGS set for gcc, but any ANSI-C compiler should work.
# For non-gcc compilers, simply set CFLAGS = -O (to start with)
#
-CC = gcc
@@ -25,14 +35,18 @@ $NetBSD: patch-ab,v 1.5 2000/08/31 12:37:02 dmcmahill Exp $
+BINDCMD = echo # only needed for EMX and DJGPP DOS extenders
-@@ -63,5 +63,5 @@
+
+@@ -62,7 +62,7 @@
+ #
DEFINES = -DUNIX -DHAS_UNIX_X11
PREVIEWER = to_x11
-ALL_LIBS = -lX11 -lm # Maybe -lX instead of -lX11 is needed?
+ALL_LIBS = -lX11 -lm -lz -lpng -ltiff -ljpeg
#
# Generic UNIX, no previewer
-@@ -183,12 +183,12 @@
+ #
+@@ -182,14 +182,14 @@
+ EX_DEFS =
#
# PNG support (requires -lpng and -lz on the ALL_LIBS line)
-#EX_SRC = png.c to_png.c
@@ -51,7 +65,9 @@ $NetBSD: patch-ab,v 1.5 2000/08/31 12:37:02 dmcmahill Exp $
+EX_DEFS+= -DTIF
#
# Include extras:
-@@ -304,14 +304,10 @@
+ # EX_SRC = to_pic.c to_pac.c
+@@ -305,15 +305,11 @@
+ install: install-bin install-info install-man
install-bin: $(PROGRAM)
- -$(STRIP) $(PROGRAM)