freebsd-ports/deskutils/gmcal/files/patch-aa
Dirk Meyer 6a0d8433fa mcal & gmcal use the libmcal library (see PR ports/31416 )
to access calendars that can be stored in many different formats.
They are mostly exsamples and how-to use the MCAL library

PR:		31461
Submitted by:	thierry@pompo.net
2002-03-30 11:21:03 +00:00

15 lines
521 B
Text

--- Makefile.orig Fri Dec 17 17:59:16 1999
+++ Makefile Mon Oct 15 22:59:33 2001
@@ -1,7 +1,11 @@
# $Id: Makefile,v 1.1.1.1 1999/12/02 08:00:57 zircote Exp $
+INCLUDE=-I$(LOCALBASE)/include/mcal -I/usr/include/rpcsvc/
+
+all: gmcal
+
gmcal: gmcal.c
- gcc -I../libmcal -Wall -g gmcal.c -o gmcal -L../libmcal -lmcal -lcrypt `gtk-config --cflags` `gtk-config --libs`
+ $(CC) $(INCLUDE) $(CFLAGS) gmcal.c -o gmcal -L$(LOCALBASE)/lib -lmcal -lcrypt `$(GTK_CONFIG) --cflags` `$(GTK_CONFIG) --libs`
clean:
rm gmcal