pkgsrc/graphics/lprof/patches/patch-ab
2012-12-24 21:11:17 +00:00

20 lines
613 B
Text

$NetBSD: patch-ab,v 1.2 2012/12/24 21:11:17 joerg Exp $
--- src/ICCtoIT8/Makefile.orig 2005-08-20 01:11:52.000000000 +0000
+++ src/ICCtoIT8/Makefile
@@ -24,13 +24,13 @@ ifndef EXESUFFIX
EXESUFFIX=
endif
-CFLAGS = -g -O4 -fomit-frame-pointer -Wall -I../liblprof -L../liblprof
+CFLAGS += -fomit-frame-pointer -Wall -I../liblprof -L../liblprof
PROGRAM=icc2it8
all: icc2it8
icc2it8: icc2it8.o getopt.o
- $(CC) $(CFLAGS) icc2it8.o getopt.o -o $@ -lm -llprof -llcms
+ $(CC) $(CFLAGS) $(LDFLAGS) icc2it8.o getopt.o -o $@ -lm -llprof -llcms
install: icc2it8
cp $(PROGRAM)$(EXESUFFIX) $(DESTDIR)$(BINDIR)