aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-06-09 14:04:26 +0000
committerCy Schubert <cy@FreeBSD.org>2024-06-10 15:11:44 +0000
commitd21b742b5f2c1bc2ff4439427d022548672fb656 (patch)
tree10cbdf739e14d9420d92b7f8276978f45a758833
parent604991ccffa4c615e0b671df398f0e2d699bfe62 (diff)
downloadports-d21b742b5f2c1bc2ff4439427d022548672fb656.tar.gz
ports-d21b742b5f2c1bc2ff4439427d022548672fb656.zip
astro/xphoon: Catch up to src bb421be6c117
src bb421be6c117 moved ftime(3) to libutil. This resulted in this error: cc -o xphoon -L/usr/local/lib xphoon.o moon.o phase.o dtime.o -lXext -lX11 -lcompat -lm -Wl,-rpath,/usr/local/lib ld: error: undefined symbol: ftime While at it take maintainership of this port. (cherry picked from commit 4b6488142679ff15ddcfe1acec2be0e966b0267c) astro/xphoon: Fix patch Fixes: 4b6488142679 (cherry picked from commit 999b06a56c46cc6396f8984add5e7036de0916b7)
-rw-r--r--astro/xphoon/Makefile4
-rw-r--r--astro/xphoon/files/patch-Imakefile6
2 files changed, 6 insertions, 4 deletions
diff --git a/astro/xphoon/Makefile b/astro/xphoon/Makefile
index 1756ce477363..121d773bef26 100644
--- a/astro/xphoon/Makefile
+++ b/astro/xphoon/Makefile
@@ -1,10 +1,10 @@
PORTNAME= xphoon
PORTVERSION= 20000613
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= astro
MASTER_SITES= SF
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= cy@FreeBSD.org
COMMENT= Set the root window to the moon in its current phase
WWW= https://xphoon.sourceforge.net/
diff --git a/astro/xphoon/files/patch-Imakefile b/astro/xphoon/files/patch-Imakefile
index d607d8420b3c..fb4bd31abe6f 100644
--- a/astro/xphoon/files/patch-Imakefile
+++ b/astro/xphoon/files/patch-Imakefile
@@ -1,11 +1,13 @@
---- Imakefile.orig 2000-06-13 21:55:44 UTC
+diff --git a/Imakefile.orig b/Imakefile
+index 96d7fd6..73497f4 100644
+--- Imakefile.orig
+++ Imakefile
@@ -11,7 +11,7 @@
INCLUDES = -I. -I$(TOP) -I$(TOP)/X11 -I$(TOP)/X11/bitmaps
-LOCAL_LIBRARIES = $(XLIB)
-+LOCAL_LIBRARIES = $(XLIB) -lcompat
++LOCAL_LIBRARIES = $(XLIB) -lcompat -lutil
DEPLIBS = $(DEPXLIB)
LDLIBS = -lm