aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mxp
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
committermiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
commitbce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch)
treef5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /graphics/mxp
parent2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff)
downloadfreebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
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