aboutsummaryrefslogtreecommitdiff
path: root/misc/astrolog
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /misc/astrolog
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'misc/astrolog')
-rw-r--r--misc/astrolog/Makefile4
-rw-r--r--misc/astrolog/files/patch-aa4
2 files changed, 4 insertions, 4 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile
index 738ec2566160..ceb79f8ae03d 100644
--- a/misc/astrolog/Makefile
+++ b/misc/astrolog/Makefile
@@ -10,7 +10,7 @@
PORTNAME= astrolog
PORTVERSION= 5.40
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= misc
MASTER_SITES= http://www.astrolog.org/ftp/ephem/:ephem \
http://www.astrolog.org/ftp/:dist
@@ -23,7 +23,7 @@ COMMENT= An astrology program for X11 and alpha-numeric terminals
USE_ZIP= yes
.if !defined(WITHOUT_X11)
-USE_XLIB= yes
+USE_XORG= x11
MAKE_ARGS= -DX11
.endif
EXTRACT_CMD= ${SH}
diff --git a/misc/astrolog/files/patch-aa b/misc/astrolog/files/patch-aa
index 292bf68515ce..0598b081ba64 100644
--- a/misc/astrolog/files/patch-aa
+++ b/misc/astrolog/files/patch-aa
@@ -7,8 +7,8 @@
-LIBS = -lm -lX11
-CFLAGS = -O
+.if defined(X11)
-+LIBS = -L${X11BASE}/lib -lX11 -lm
-+CFLAGS += -DX11 -I${X11BASE}/include -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\"
++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\"