diff options
author | hans <hans@pkgsrc.org> | 2012-03-21 19:22:30 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-03-21 19:22:30 +0000 |
commit | 3456506ba814d003a3bb1e4271f89b19bc23b2bd (patch) | |
tree | 3097ffc0543e35d9030c7c6fb0118635e0a02dc6 /sysutils | |
parent | ec19780ef4be3ed614c15ee9e72e6c13b6f1c6ca (diff) | |
download | pkgsrc-3456506ba814d003a3bb1e4271f89b19bc23b2bd.tar.gz |
It's called SunOS, and it needs -lm.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gkrellm/distinfo | 3 | ||||
-rw-r--r-- | sysutils/gkrellm/patches/patch-Makefile.inc | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/sysutils/gkrellm/distinfo b/sysutils/gkrellm/distinfo index 04042335c5c..a1d8ec6e8ed 100644 --- a/sysutils/gkrellm/distinfo +++ b/sysutils/gkrellm/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.40 2009/10/10 12:52:40 jmmv Exp $ +$NetBSD: distinfo,v 1.41 2012/03/21 19:22:30 hans Exp $ SHA1 (gkrellm-2.2.10.tar.bz2) = 329d0ba5600998f21b75491937c3c2924ab6ed40 RMD160 (gkrellm-2.2.10.tar.bz2) = 6694838015716c09291887ae598daceb4f4b440f Size (gkrellm-2.2.10.tar.bz2) = 718894 bytes +SHA1 (patch-Makefile.inc) = cb9f3f5e92bed61a6f62f785502f2b9767f58dd4 SHA1 (patch-aa) = 1cf9b98520b37aa75c6c5b9d0398e8d92204a12e SHA1 (patch-ab) = e900c811ddea106efee5cbfc04d0cf14cc6e6451 SHA1 (patch-ac) = 8890d5a5e8eaf21508a1bf91de788183fd6f7a75 diff --git a/sysutils/gkrellm/patches/patch-Makefile.inc b/sysutils/gkrellm/patches/patch-Makefile.inc new file mode 100644 index 00000000000..d49ec20201a --- /dev/null +++ b/sysutils/gkrellm/patches/patch-Makefile.inc @@ -0,0 +1,27 @@ +$NetBSD: patch-Makefile.inc,v 1.1 2012/03/21 19:22:31 hans Exp $ + +--- Makefile.inc.orig 2012-03-21 20:14:50.782202133 +0100 ++++ Makefile.inc 2012-03-21 20:16:37.118104356 +0100 +@@ -66,7 +66,7 @@ endif + + ifeq ($(GTOP),) + # OS-specific overrides +-SUPPORTED_OSES= Linux NetBSD FreeBSD OpenBSD Darwin Solaris DragonFly ++SUPPORTED_OSES= Linux NetBSD FreeBSD OpenBSD Darwin SunOS DragonFly + + REALOPSYS= $(shell uname -s) + OPSYS= $(if $(findstring $(REALOPSYS),$(SUPPORTED_OSES)),$(REALOPSYS),Linux) +@@ -106,11 +106,11 @@ HAVE_GETADDRINFO= 1 + LINK_FLAGS+= -lX11 + endif + else +- ifeq ($(OPSYS),Solaris) ++ ifeq ($(OPSYS),SunOS) + MSGFMT_OPT= -v + CC?= gcc + GKRELLM_CFLAGS= -Wno-implicit-int +-SYS_LIBS= -lkstat -lkvm -ldevinfo ++SYS_LIBS= -lm -lkstat -lkvm -ldevinfo + ifeq ($(OSREV),5.8) + LINK_FLAGS= + SYS_LIBS+= -lsocket -lintl |