aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/gauche-readline/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/gauche-readline/Makefile b/devel/gauche-readline/Makefile
index 19ee95b2a590..324fc940830a 100644
--- a/devel/gauche-readline/Makefile
+++ b/devel/gauche-readline/Makefile
@@ -19,12 +19,10 @@ COMMENT= A pure gauche/scheme implementation of the Readline library
RUN_DEPENDS= gosh:${PORTSDIR}/lang/gauche
BUILD_DEPENDS= gauche-config:${PORTSDIR}/lang/gauche
-.include <bsd.port.pre.mk>
-GAUCHE_CONFIG= ${LOCALBASE}/bin/gauche-config
-GAUCHE_LIBDIR= ${GAUCHE_CONFIG} --sitelibdir
-PLIST_SUB+= GAUCHE_LIBDIR=${GAUCHE_LIBDIR:S/${LOCALBASE}\///}
+GAUCHE_LIBDIR= share/gauche/site/lib
+PLIST_SUB+= GAUCHE_LIBDIR=${GAUCHE_LIBDIR}
do-install:
- @${CP} -r ${WRKSRC}/readline* ${GAUCHE_LIBDIR}
+ ${CP} -R ${WRKSRC}/readline* `gauche-config --sitelibdir`
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>