From 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 19 Apr 2008 17:56:05 +0000 Subject: - Remove unneeded dependency from gtk12/gtk20 [1] - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav) --- misc/astrolog/files/patch-aa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/astrolog/files/patch-aa') 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\" -- cgit v1.2.3