summaryrefslogtreecommitdiffstats
path: root/x11/cnslock/files/patch-Makefile
blob: 7d00a2814eb4603dba0aefec71a2cbd88b65c688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- Makefile.orig	Sun Oct 27 09:34:22 2002
+++ Makefile	Sun Jul  6 20:33:58 2003
@@ -2,11 +2,10 @@
 PREFIX = /usr/local
 
 VERSION = 1.02
-CFLAGS = -O3 -Wall `gtk-config --cflags` -DVERSION=$(VERSION) ${EXTRA}
-CC = gcc
+CFLAGS += ${CPPFLAGS} `${GTK_CONFIG} --cflags` -DVERSION=$(VERSION) ${EXTRA}
 OBJS = cnslock.o kleds.o applet.o
 
-LIBS = `gtk-config --libs | sed "s/-lgtk//g"`
+LIBS = `${GTK_CONFIG} --libs | sed "s/-lgtk12//g"` ${LDFLAGS}
 
 all: cnslock
 
OpenPOWER on IntegriCloud