mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 11:03:09 -04:00
- Fix the installation when a PREFIX other than /usr/local is used.
Submitted by: Martin Tournoij <carpetsmoker@rwxrwxrwx.net> (via mail)
This commit is contained in:
parent
2133ae6ab1
commit
a2ee0433e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218450
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue