mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 04:19:17 -04:00
Switch to more recent fork made by Valentin Abramov, it is much improved in calculation (new ephemeris used), have many bugfixes and some new features. Fixes from me: integrate our fixes for original version fix some out of memory / junk memory accesses avoid text clipping on long lines add seconds precision to zone offset (for true local time) add missing color reset in one place
20 lines
579 B
Text
20 lines
579 B
Text
--- makefile.orig 2002-04-27 22:48:52.000000000 +0400
|
|
+++ makefile 2012-02-25 22:50:00.000000000 +0400
|
|
@@ -28,9 +28,15 @@
|
|
# LIBS = -lm -lX11
|
|
# with Debian Linux and X windows worked
|
|
# LIBS = -lm -L/usr/X11R6/lib -lX11
|
|
-LIBS= -lm
|
|
+.if defined(X11)
|
|
+LIBS = -L${LOCALBASE}/lib -lX11 -lm
|
|
+CFLAGS += -DX11 -I${LOCALBASE}/include -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\"
|
|
+.else
|
|
+LIBS = -lm
|
|
+CFLAGS += -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\"
|
|
+.endif
|
|
#
|
|
-CFLAGS = -O -DHPUX_SOURCE
|
|
+#CFLAGS = -O -DHPUX_SOURCE
|
|
#
|
|
# CFLAGS from 5.41 original sources
|
|
# CFLAGS = -g -Aa -DHPUX_SOURCE
|