summaryrefslogtreecommitdiff
path: root/x11/gcursor
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gcursor')
-rw-r--r--x11/gcursor/Makefile3
-rw-r--r--x11/gcursor/files/patch-src::gcursor.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/x11/gcursor/Makefile b/x11/gcursor/Makefile
index 00ae77a33076..92115f9ddfef 100644
--- a/x11/gcursor/Makefile
+++ b/x11/gcursor/Makefile
@@ -26,8 +26,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
DOCS= AUTHORS COPYING ChangeLog INSTALL TODO
post-patch:
- @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \
- s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/src/gcursor.c
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/src/gcursor.c
.ifndef (NOPORTDOCS)
post-install:
diff --git a/x11/gcursor/files/patch-src::gcursor.c b/x11/gcursor/files/patch-src::gcursor.c
index 583eac0fd36d..5161e1e3b34a 100644
--- a/x11/gcursor/files/patch-src::gcursor.c
+++ b/x11/gcursor/files/patch-src::gcursor.c
@@ -10,7 +10,7 @@
- "/usr/local/share/icons/",
- "/usr/share/icons/",
+ "%%LOCALBASE%%/lib/X11/icons/",
-+ "%%X11BASE%%/lib/X11/icons/",
++ "%%LOCALBASE%%/lib/X11/icons/",
"%s/.icons/",
NULL
};