aboutsummaryrefslogtreecommitdiff
path: root/graphics/mxp
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 /graphics/mxp
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'graphics/mxp')
-rw-r--r--graphics/mxp/Makefile3
-rw-r--r--graphics/mxp/files/patch-Makefile4
2 files changed, 3 insertions, 4 deletions
diff --git a/graphics/mxp/Makefile b/graphics/mxp/Makefile
index a5ca1d7b7e7f..8b5d3dbfe066 100644
--- a/graphics/mxp/Makefile
+++ b/graphics/mxp/Makefile
@@ -23,9 +23,8 @@ post-extract:
@${CP} ${WRKSRC}/Makefile.noimake ${WRKSRC}/Makefile
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
- s|%%X11BASE%%|${X11BASE}|g ; \
- s|%%CFLAGS%%|${CFLAGS}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g ; \
+ s|%%CFLAGS%%|${CFLAGS}|g ; \
s|%%CC%%|${CC}|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mxp ${PREFIX}/bin
diff --git a/graphics/mxp/files/patch-Makefile b/graphics/mxp/files/patch-Makefile
index 7aa5edbf6963..6660193704e4 100644
--- a/graphics/mxp/files/patch-Makefile
+++ b/graphics/mxp/files/patch-Makefile
@@ -17,8 +17,8 @@
# following 2 defines.
-XLIBS = -L/usr/openwin/lib
-XINC = -I/usr/openwin/include
-+XLIBS = -L%%X11BASE%%/lib
-+XINC = -I%%X11BASE%%/include
++XLIBS = -L%%LOCALBASE%%/lib
++XINC = -I%%LOCALBASE%%/include
# Specify where your Xpm installation directories are
# If you have the XPM libraries uncomment and adjust the following lines