Update to version 0.2.4

PR: 30597
Submitted by: MAINTAINER
This commit is contained in:
Kevin Lo 2001-09-16 16:03:29 +00:00
parent d7a1e18d94
commit 21d220385e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47870
3 changed files with 18 additions and 9 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= gkrellkam
PORTVERSION= 0.2.3b
PORTVERSION= 0.2.4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -1 +1 @@
MD5 (gkrellkam_0.2.3b.tar.gz) = c003dca178c14f13250663deb389d0de
MD5 (gkrellkam_0.2.4.tar.gz) = 008239d978a6de0d3501ece78a2d7827

View File

@ -1,16 +1,25 @@
--- Makefile.orig Tue Jul 31 19:27:40 2001
+++ Makefile Wed Aug 29 13:13:18 2001
@@ -9,10 +9,9 @@
# To facilitate packaging- leave blank for normal installation
DESTDIR =
--- Makefile.orig Sat Sep 15 14:52:10 2001
+++ Makefile Sat Sep 15 14:52:45 2001
@@ -12,10 +12,9 @@
# This should point to the GKrellM headers
GKRELLM_HDRS = /usr/include/gkrellm
-CC := gcc
-GTKFLAGS := $(shell gtk-config --cflags)
-IMLIBFLAGS := $(shell imlib-config --cflags-gdk)
-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS)
-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS)
+GTKFLAGS = `${GTK_CONFIG} --cflags`
+IMLIBFLAGS = `${IMLIB_CONFIG} --cflags-gdk`
+CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS)
+CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I${X11BASE}/include/gkrellm
LDFLAGS := -shared -Wl
INST_DIR := $(DESTDIR)/usr/lib/gkrellm/plugins
USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm/plugins
@@ -27,7 +26,7 @@
all: $(TARGET).so
%.so: %.o
- $(CC) $(LDFLAGS) -o $@ $<
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
clean:
-rm -f $(TARGET).so $(TARGET).o