Mk/Uses/gnustep.mk uses incorrect GNUSTEP_LOCAL_LIBRARIES

Dewayne Geraghty dewaynegeraghty at gmail.com
Wed Mar 25 01:09:58 UTC 2020


I'd raise a PR but Mk is immune.

The problem:
devel/sope4 failure to build due to:
ld-elf.so.1: Shared object "libgnustep-base.so.1.26" not found, required by
"plmerge"

Investigation:
#  make -C /usr/ports/devel/sope4 -VGNUSTEP_LOCAL_LIBRARIES
/usr/local/GNUstep/Local/Library/Libraries

# ls /usr/local/GNUstep/Local/Library/Libraries
#

# ls /usr/local/GNUstep/System/Library/Libraries/
Java                            gnustep-base
 libgnustep-base.so.1.26
Resources                       libgnustep-base.so
 libgnustep-base.so.1.26.0

Due to /usr/ports/Mk/Uses/gnustep.mk
GNUSTEP_LOCAL_LIBRARIES=  ${GNUSTEP_LOCAL_ROOT}/Library/Libraries

GNUSTEP_LOCAL_ROOT=       ${GNUSTEP_PREFIX}/Local

The fix:
Change /usr/ports/Mk/Uses/gnustep.mk
GNUSTEP_LOCAL_LIBRARIES=  ${GNUSTEP_SYSTEM_ROOT}/Library

-- 
*** *NOTICE *This email and any attachments may contain legally privileged
or confidential information and may be protected by copyright. You must not
use or disclose them other than for the purposes for which they were
supplied. The privilege or confidentiality attached to this message and
attachments is not waived by reason of mistaken delivery to you. If you are
not the intended recipient, you must not use, disclose, retain, forward or
reproduce this message or any attachments. If you receive this message in
error please notify the sender by return email or telephone, and destroy
and delete all copies. ***


More information about the freebsd-ports mailing list