diff options
Diffstat (limited to 'misc/astrolog/files/patch-aa')
-rw-r--r-- | misc/astrolog/files/patch-aa | 4 |
1 files changed, 2 insertions, 2 deletions
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\" |