aboutsummaryrefslogtreecommitdiffstats
path: root/math/cln
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2008-08-12 08:40:51 +0800
committeraraujo <araujo@FreeBSD.org>2008-08-12 08:40:51 +0800
commit463492972d06a39ff06f8b777b1f5d3aac60da78 (patch)
tree1fda50e461bc3df93c1b5217d660d84ee931ffdb /math/cln
parentc3c5f54bf0f8f03203c5b5aab8dde380fa152912 (diff)
downloadfreebsd-ports-gnome-463492972d06a39ff06f8b777b1f5d3aac60da78.tar.gz
freebsd-ports-gnome-463492972d06a39ff06f8b777b1f5d3aac60da78.tar.zst
freebsd-ports-gnome-463492972d06a39ff06f8b777b1f5d3aac60da78.zip
- Fix the installation when a PREFIX other than /usr/local is used.
Submitted by: Martin Tournoij <carpetsmoker@rwxrwxrwx.net> (via mail)
Diffstat (limited to 'math/cln')
-rw-r--r--math/cln/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/cln/Makefile b/math/cln/Makefile
index 9083011b887b..ef91ec8903b3 100644
--- a/math/cln/Makefile
+++ b/math/cln/Makefile
@@ -42,6 +42,9 @@ LDFLAGS= -L${LOCALBASE}/lib
BROKEN= Does not compile on sparc64 or ia64
.endif
+post-patch:
+ @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile.in
+
pre-build:
.if exists(${LOCALBASE}/lib/libcln.so.3)
BROKEN= Does not compile when older version is installed. Please pkg_delete old cln first