freebsd-ports/graphics/xfpovray/files/patch-xfpovraf.cf

20 lines
570 B
CFEngine3

--- xfpovray.cf.orig Mon Feb 9 22:46:25 1998
+++ xfpovray.cf Mon Jul 1 02:57:04 2002
@@ -3,10 +3,14 @@
XCOMM
XCOMM Root installation directory for xfpovray
-XFROOTDIR = /usr/local
+XFROOTDIR = ${BINDIR}
XCOMM If your compiler can't find the xforms library
-XFORMS_LIBDIR = /usr/local/lib
+XFORMS_LIBDIR = ${LOCALBASE}/lib
XCOMM If your compiler can't find the xforms header file
-XFORMS_INCDIR = /usr/local/include
+.if exists(${LOCALBASE}/include/X11/forms.h)
+XFORMS_INCDIR = ${LOCALBASE}/include/X11
+.else
+XFORMS_INCDIR = ${LOCALBASE}/include
+.endif