diff options
author | khorben <khorben@pkgsrc.org> | 2015-08-06 21:41:43 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2015-08-06 21:41:43 +0000 |
commit | 400b686d73fd99610d1c405292b20b7bcbb3d1ee (patch) | |
tree | 0d32885e89f59252638e950a93659ddf05974a7d /time | |
parent | 1d39b341cb7abeaab5f164bd369edffb72fc9bcd (diff) | |
download | pkgsrc-400b686d73fd99610d1c405292b20b7bcbb3d1ee.tar.gz |
Add support for CFLAGS
No functional change intended.
Diffstat (limited to 'time')
-rw-r--r-- | time/wmitime/distinfo | 4 | ||||
-rw-r--r-- | time/wmitime/patches/patch-aa | 17 |
2 files changed, 16 insertions, 5 deletions
diff --git a/time/wmitime/distinfo b/time/wmitime/distinfo index 4a3baf63bbb..44bfb6a46b3 100644 --- a/time/wmitime/distinfo +++ b/time/wmitime/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.2 2013/11/07 00:49:46 joerg Exp $ +$NetBSD: distinfo,v 1.3 2015/08/06 21:41:43 khorben Exp $ SHA1 (wmitime-0.3.tar.gz) = 64bb07c5eccce5592088cfccc87836f66695e07c RMD160 (wmitime-0.3.tar.gz) = b2301a15ef159d2d55418ae5fbf914bedc388478 Size (wmitime-0.3.tar.gz) = 21442 bytes SHA1 (patch-.._wmgeneral_list.h) = 3833c707c4eaf8ef8297eb5b5658db14d70e24ee -SHA1 (patch-aa) = 9e2dc61ca81e403b142238aaaacd73297cc55e37 +SHA1 (patch-aa) = e3dfcd4a36cb282a80f63534222d727d4a73f891 diff --git a/time/wmitime/patches/patch-aa b/time/wmitime/patches/patch-aa index eb9339179db..65a73be5e99 100644 --- a/time/wmitime/patches/patch-aa +++ b/time/wmitime/patches/patch-aa @@ -1,6 +1,8 @@ -$NetBSD: patch-aa,v 1.1 2013/11/06 00:35:20 khorben Exp $ +$NetBSD: patch-aa,v 1.2 2015/08/06 21:41:43 khorben Exp $ -Implements PKG_DESTDIR_SUPPORT +- implements PKG_DESTDIR_SUPPORT +- adds support for CFLAGS +- removes duplicate library while linking --- Makefile.orig 1999-03-29 03:51:39.000000000 +0000 +++ Makefile @@ -11,10 +13,19 @@ Implements PKG_DESTDIR_SUPPORT +LIBDIR = ${LDFLAGS} LIBS = -lXpm -lXext -lX11 -lm -FLAGS = -O2 -+FLAGS = -O2 ${BUILDLINK_CPPFLAGS} ++FLAGS = ${BUILDLINK_CPPFLAGS} ${CFLAGS} OBJS = wmitime.o \ ../wmgeneral/wmgeneral.o \ ../wmgeneral/misc.o \ +@@ -12,7 +12,7 @@ OBJS = wmitime.o \ + cc -I/usr/X11R6/share/include $(FLAGS) -D$(LANG) -c -Wall $< -o $*.o + + wmtime: $(OBJS) +- cc $(FLAGS) -D$(LANG) -o wmitime $^ -lXext $(LIBDIR) $(LIBS) ++ cc $(FLAGS) -D$(LANG) -o wmitime $^ $(LIBDIR) $(LIBS) + + all:: wmtime + @@ -24,9 +24,8 @@ clean:: rm -f *~ |