diff options
Diffstat (limited to 'graphics/mxp')
-rw-r--r-- | graphics/mxp/Makefile | 3 | ||||
-rw-r--r-- | graphics/mxp/files/patch-Makefile | 4 |
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 |