openbsd-ports/math/grpn/patches/patch-Makefile
margarida 9196b0caff Update to version 1.1.2;
Cosmetic changes;
Switch CC behaviour from patch to port Makefile;
Take maintainership, agreed by previous MAINTAINER.

brad@ ok
2002-12-22 01:30:45 +00:00

24 lines
667 B
Plaintext

$OpenBSD: patch-Makefile,v 1.4 2002/12/22 01:30:45 margarida Exp $
--- Makefile.orig Fri Apr 5 04:56:05 2002
+++ Makefile Sun Dec 22 01:06:20 2002
@@ -20,9 +20,7 @@ GTK_DIR =
# add -DUSE_GNOME if you want to make grpn GNOME compliant.
-CFLAGS = -g -O2 -I/usr/X11/include `$(GTK_DIR)gtk-config --cflags` -DGTK_VER_1_1
-
-DFLAGS = -L/usr/X11/lib
+CFLAGS +=`$(GTK_DIR)gtk-config --cflags` -DGTK_VER_1_1
# end of user configurable section
@@ -41,7 +39,7 @@ LIBS = `$(GTK_DIR)gtk-config --libs` -
grpn: $(OBJS)
- $(CC) $(DFLAGS) -o $@ $(OBJS) $(LIBS)
+ $(CC) -o $@ $(OBJS) $(LIBS)
pure: $(OBJS)
$(PURIFY) $(CC) $(DFLAGS) -o $@ $(OBJS) $(LIBS)