aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/icoconvert
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-10-27 00:44:21 +0800
committerflz <flz@FreeBSD.org>2005-10-27 00:44:21 +0800
commit3a004f806f99ddfda281fd5cb5c9c9d3485a135c (patch)
treeb3e5b8d6b666e421067dc0fede78a3a092b0c3a7 /graphics/icoconvert
parent66c20309d99e690ae869d88edf270ff291fa57cb (diff)
downloadfreebsd-ports-gnome-3a004f806f99ddfda281fd5cb5c9c9d3485a135c.tar.gz
freebsd-ports-gnome-3a004f806f99ddfda281fd5cb5c9c9d3485a135c.tar.zst
freebsd-ports-gnome-3a004f806f99ddfda281fd5cb5c9c9d3485a135c.zip
- Remove hardcoded LOCALBASE.
Reported by: kris
Diffstat (limited to 'graphics/icoconvert')
-rw-r--r--graphics/icoconvert/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/icoconvert/Makefile b/graphics/icoconvert/Makefile
index ef44426b4ff3..60eacd94309f 100644
--- a/graphics/icoconvert/Makefile
+++ b/graphics/icoconvert/Makefile
@@ -21,8 +21,8 @@ USE_REINPLACE= yes
PLIST_FILES= bin/icoconvert
post-patch:
- ${REINPLACE_CMD} -e 's|^icoconvert|all|' ${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e 's|^\(FLAGS=\)|\1-I${PREFIX}/include |' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|^icoconvert|all|' -e 's|^\(FLAGS=\)|\1-I${LOCALBASE}/include |' \
+ -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/icoconvert ${PREFIX}/bin