summaryrefslogtreecommitdiff
path: root/x11/asclock-xlib/patches/patch-aa
blob: 96e82df8cf12be9b9050af251d62c0ec54115783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.2 1999/11/01 06:07:38 jlam Exp $

--- ./Imakefile.orig	Sun Mar 14 01:04:31 1999
+++ ./Imakefile	Thu Oct  7 03:38:21 1999
@@ -1,13 +1,14 @@
 
-XPMLIB = -L/usr/lib/X11 -lXpm   
+XPMLIB = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lXpm
 DEPLIBS = $(DEPXLIB) 
 
 LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)  
 
 LINTLIBS = $(LINTXLIB)
-CC = gcc -g
 
 SRCS = asclock.c parser.c symbols.c config.c
 OBJS = asclock.o parser.o symbols.o config.o
 
-ComplexProgramTarget(asclock)
+CPPFLAGS += -DPREFIX=\"${PREFIX}\"
+
+ComplexProgramTargetNoMan(asclock-xlib)