Files
pkgsrc-ng/print/foo2zjs/patches/patch-icc2ps_Makefile
2016-01-21 23:40:00 +01:00

28 lines
638 B
Plaintext

$NetBSD: patch-icc2ps_Makefile,v 1.2 2014/09/24 13:44:21 jperkin Exp $
Fix PREFIX path
--- icc2ps/Makefile.orig 2010-11-27 10:04:56.000000000 +0000
+++ icc2ps/Makefile
@@ -1,9 +1,8 @@
UNAME := $(shell uname)
-PREFIX= /usr
-PREFIX= $(DESTDIR)/usr
+PREFIX= @PREFIX@
BIN= $(PREFIX)/bin
-MANDIR=$(PREFIX)/share/man
+MANDIR= @PKGMANDIR@
SRC= icc2ps.c xgetopt.c
LIB= cmscam97.c cmscnvrt.c cmserr.c cmsgamma.c cmsgmt.c cmsintrp.c cmsio1.c \
@@ -12,7 +11,7 @@ LIB= cmscam97.c cmscnvrt.c cmserr.c cmsg
CFLAGS= -O3
INSTALL=install
ifeq ($(UNAME),SunOS)
- INSTALL=/usr/ucb/install
+ #INSTALL=/usr/ucb/install
CC=gcc
endif