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-09 14:07:40 +0000
commit4b6488142679ff15ddcfe1acec2be0e966b0267c (patch)
treeb0ed47a2975c5cd7f73f535f5d01ffdc7e0062ab
parentf09764b6955e06b6ff9ded5da9e9c1402558c6e9 (diff)
downloadports-4b6488142679ff15ddcfe1acec2be0e966b0267c.tar.gz
ports-4b6488142679ff15ddcfe1acec2be0e966b0267c.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. MFH: 2024Q2
-rw-r--r--astro/xphoon/Makefile4
-rw-r--r--astro/xphoon/files/patch-Imakefile8
2 files changed, 7 insertions, 5 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..06c469e28984 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
-+++ Imakefile
+diff --git a/Imakefile.orig b/Imakefile
+index 96d7fd6..73497f4 100644
+--- a/Imakefile.orig
++++ b/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