openbsd-ports/games/wmtimebomb/patches/patch-Imakefile

20 lines
669 B
Plaintext
Raw Normal View History

$OpenBSD: patch-Imakefile,v 1.2 2001/09/07 11:32:54 wilfried Exp $
--- Imakefile.orig Mon Nov 16 13:40:24 1998
+++ Imakefile Fri Sep 7 12:55:20 2001
@@ -1,10 +1,11 @@
-XPMLIB = -L/usr/X11R6/lib -lXpm -lm -ljpeg -lpng -lz -ltiff -lgif
-WMAKER = -L/usr/local/lib -lWMaker -lWINGs -lwraster -lPropList
+XPMLIB = `get-wraster-flags --ldflags` `get-wraster-flags --libs`
+WMAKER = -L${LOCALBASE}/lib -lWMaker -lWINGs -lintl -lPropList
LOCAL_LIBRARIES = $(WMAKER) $(XPMLIB) $(XLIB)
+EXTRA_INCLUDES= `get-wraster-flags --cflags` -I${LOCALBASE}/include
+
SRCS = timebomb.c
OBJS = timebomb.o
-ComplexProgramTarget(wmtimebomb)
-
+ComplexProgramTargetNoMan(wmtimebomb)