diff options
author | laszlof <laszlof@FreeBSD.org> | 2006-12-01 22:14:47 +0800 |
---|---|---|
committer | laszlof <laszlof@FreeBSD.org> | 2006-12-01 22:14:47 +0800 |
commit | ba9cbc0e3cfa075551472dbd748f3aca40565842 (patch) | |
tree | 40b7098afc34f4c0a6a6d31e034f6f578e0db690 /lang | |
parent | 0ffc9137c1bdd99f55ce334cee8f857e111747bb (diff) | |
download | freebsd-ports-gnome-ba9cbc0e3cfa075551472dbd748f3aca40565842.tar.gz freebsd-ports-gnome-ba9cbc0e3cfa075551472dbd748f3aca40565842.tar.zst freebsd-ports-gnome-ba9cbc0e3cfa075551472dbd748f3aca40565842.zip |
Respect X11BASE
Reported by: pointyhat
Diffstat (limited to 'lang')
-rw-r--r-- | lang/otcl/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/otcl/Makefile b/lang/otcl/Makefile index 9eeca690ade4..c8a8e88f095e 100644 --- a/lang/otcl/Makefile +++ b/lang/otcl/Makefile @@ -23,6 +23,10 @@ USE_LDCONFIG= yes PKGINSTALL= ${PORTSDIR}/lang/tcl84/pkg-install.tclsh PKGDEINSTALL= ${PORTSDIR}/lang/tcl84/pkg-deinstall.tclsh +post-patch: + @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/conf/configure.in.x11 + post-install: ${LN} -sf libotcl.so ${PREFIX}/lib/libotcl.so.1 ${STRIP_CMD} ${PREFIX}/bin/otclsh |