summaryrefslogtreecommitdiff
path: root/print/advi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/advi/Makefile')
-rw-r--r--print/advi/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/advi/Makefile b/print/advi/Makefile
index 7de1eb57bbeb..f90c3124f9fe 100644
--- a/print/advi/Makefile
+++ b/print/advi/Makefile
@@ -27,7 +27,7 @@ RUN_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX-base
USE_OCAML= yes
NO_OCAML_RUNDEPENDS=yes
USE_GHOSTSCRIPT=yes
-USE_XPM= yes
+USE_XORG= xpm
USE_FREETYPE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -41,7 +41,7 @@ post-extract:
@${REINPLACE_CMD} -E \
-e 's,^(COPTIONS[[:space:]]*=).*,\1-ccopt "${CFLAGS}",' \
-e 's,^(COPTOPTIONS[[:space:]]*=).*,\1-ccopt "${CFLAGS}",' \
- -e 's,^(X11_INCLUDES[[:space:]]*=).*,\1-I${X11BASE}/include,' \
+ -e 's,^(X11_INCLUDES[[:space:]]*=).*,\1-I${LOCALBASE}/include,' \
-e 's,install -m 644,\$${BSD_INSTALL_DATA},' \
-e 's,install -m 755,\$${BSD_INSTALL_PROGRAM},' \
${WRKSRC}/Makefile