diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-04-05 11:42:11 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-04-05 11:42:11 +0000 |
commit | f1b6202b9748e6dc5fd2623855e223746a5e4611 (patch) | |
tree | d42dfa65fafe2e2c50a31c1dedc4f1a94fc30422 /astro/wmspaceweather | |
parent | 56670832db5d0a653174bdc43026aaae963309d0 (diff) | |
download | ports-f1b6202b9748e6dc5fd2623855e223746a5e4611.tar.gz ports-f1b6202b9748e6dc5fd2623855e223746a5e4611.zip |
Fix make patch
With hat: portmgr
Notes
Notes:
svn path=/head/; revision=350219
Diffstat (limited to 'astro/wmspaceweather')
-rw-r--r-- | astro/wmspaceweather/files/patch-aa | 44 | ||||
-rw-r--r-- | astro/wmspaceweather/files/patch-ab | 29 |
2 files changed, 0 insertions, 73 deletions
diff --git a/astro/wmspaceweather/files/patch-aa b/astro/wmspaceweather/files/patch-aa deleted file mode 100644 index 410bf193920c..000000000000 --- a/astro/wmspaceweather/files/patch-aa +++ /dev/null @@ -1,44 +0,0 @@ ---- Makefile.orig Tue Jan 5 06:20:45 1999 -+++ Makefile Thu Aug 3 21:29:28 2000 -@@ -1,8 +1,8 @@ --CC = gcc --CFLAGS = -O2 -Wall --INCDIR = -I/usr/X11R6/include/X11 --DESTDIR= /usr/X11R6 --LIBDIR = -L/usr/X11R6/lib -+CC ?= gcc -+CFLAGS ?= -O2 -+INCDIR = -I${LOCALBASE}/include -+DESTDIR= ${PREFIX} -+LIBDIR = -L${LOCALBASE}/lib - # for linux - LIBS = -lXpm -lX11 -lXext - # for Solaris -@@ -12,14 +12,14 @@ - - - .c.o: -- $(CC) $(COPTS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR) -+ $(CC) $(CFLAGS) -D$(OPSYS) -c $< -o $@ $(INCDIR) - - - all: wmSpaceWeather.o wmSpaceWeather - - wmSpaceWeather.o: wmSpaceWeather_master.xpm wmSpaceWeather_mask.xbm - wmSpaceWeather: $(OBJS) -- $(CC) $(COPTS) $(SYSTEM) -o wmSpaceWeather $^ $(INCDIR) $(LIBDIR) $(LIBS) -+ $(CC) $(CFLAGS) $(SYSTEM) -o wmSpaceWeather $(OBJS) $(LIBDIR) $(LIBS) - - clean: - for i in $(OBJS) ; do \ -@@ -28,7 +28,7 @@ - rm -f wmSpaceWeather - - install:: wmSpaceWeather -- install -s -m 0755 wmSpaceWeather $(DESTDIR)/bin -- install -m 0755 GetKp $(DESTDIR)/bin -- install -m 0644 wmSpaceWeather.1 $(DESTDIR)/man/man1 -+ ${BSD_INSTALL_PROGRAM} wmSpaceWeather $(DESTDIR)/bin -+ ${BSD_INSTALL_SCRIPT} GetKp $(DESTDIR)/bin -+ ${BSD_INSTALL_MAN} wmSpaceWeather.1 $(DESTDIR)/man/man1 - diff --git a/astro/wmspaceweather/files/patch-ab b/astro/wmspaceweather/files/patch-ab deleted file mode 100644 index b5276010726c..000000000000 --- a/astro/wmspaceweather/files/patch-ab +++ /dev/null @@ -1,29 +0,0 @@ ---- GetKp.orig 1999-02-12 06:42:01.000000000 +0100 -+++ GetKp 2011-12-27 15:38:56.000000000 +0100 -@@ -5,7 +5,7 @@ - # - - -- require "ctime.pl"; -+ use Time::CTime; - - - ($Year, $Month, $Day) = &year_month_day(); -@@ -19,7 +19,7 @@ - } - - -- $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q ftp://www.sec.noaa.gov/pub/indices/DGD.txt"; -+ $grabcmd = "cd /tmp; fetch -q ftp://ftp.sec.noaa.gov/pub/indices/DGD.txt"; - system "$grabcmd"; - - -@@ -68,7 +68,7 @@ - # - # Add in very latest stuff - # -- $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q ftp://www.sec.noaa.gov/pub/latest/curind.txt"; -+ $grabcmd = "cd /tmp; fetch -q ftp://ftp.sec.noaa.gov/pub/latest/curind.txt"; - system "$grabcmd"; - %lmonstr = ( "Jan", 1, "Feb", 2, "Mar", 3, "Apr", 4, "May", 5, "Jun", 6, "Jul", 7, "Aug", 8, "Sep", 9, "Oct", 10, "Nov", 11, "Dec", 12); - |