don't override CFLAGS; ok ajacoutot@

This commit is contained in:
naddy 2011-09-09 15:47:19 +00:00
parent 7ab1f5f5cf
commit dc7b227db3
2 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.31 2010/11/20 09:48:39 espie Exp $
# $OpenBSD: Makefile,v 1.32 2011/09/09 15:47:19 naddy Exp $
COMMENT= utilities for manipulating PostScript documents
MINV= 17
DISTNAME= psutils-p${MINV}
PKGNAME= psutils-1.${MINV}
REVISION = 0
REVISION = 1
CATEGORIES= print

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-Makefile_unix,v 1.2 2010/02/06 11:26:29 ajacoutot Exp $
$OpenBSD: patch-Makefile_unix,v 1.3 2011/09/09 15:47:19 naddy Exp $
Remove Apple copyrighted files (from Fedora).
--- Makefile.unix.orig Tue Mar 11 23:52:59 1997
+++ Makefile.unix Sat Feb 6 11:15:59 2010
+++ Makefile.unix Thu Sep 8 21:24:35 2011
@@ -25,31 +25,29 @@ PAPER=a4
OS = UNIX
@ -28,7 +28,7 @@ Remove Apple copyrighted files (from Fedora).
-CC = gcc
-CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall
+CC ?= gcc
+CFLAGS += -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall
+CFLAGS += -DPAPER=\"$(PAPER)\" -DUNIX -Wall
BIN = psbook psselect pstops epsffit psnup \
psresize