aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-07-05 05:16:07 +0800
committersteve <steve@FreeBSD.org>1999-07-05 05:16:07 +0800
commitf5fa2ff2d8bb7b52ff20a4506bbec8d634fa5ef2 (patch)
tree4130554cb66a9423dcebc70ef542a2e9726ecf89
parent3e9ca882b578ab4219ab90e471a5808c3f26e4de (diff)
downloadfreebsd-ports-graphics-f5fa2ff2d8bb7b52ff20a4506bbec8d634fa5ef2.tar.gz
freebsd-ports-graphics-f5fa2ff2d8bb7b52ff20a4506bbec8d634fa5ef2.tar.zst
freebsd-ports-graphics-f5fa2ff2d8bb7b52ff20a4506bbec8d634fa5ef2.zip
Fix build for ELF.
-rw-r--r--korean/pine/files/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/korean/pine/files/Makefile b/korean/pine/files/Makefile
index 2874cc1f71e..eed2de22fbc 100644
--- a/korean/pine/files/Makefile
+++ b/korean/pine/files/Makefile
@@ -1,7 +1,14 @@
+.if ${PORTOBJFORMAT} == "elf"
+SHLIB= libpico.so.1
+.else
+SHLIB= libpico.so.1.3
+.endif
+
all:
./build bsf
install:
- install -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} bin/libpico.so.1.3 ${PREFIX}/lib/libpico.so.1.3
+ install -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} pico/${SHLIB} ${PREFIX}/lib
+ ln -sf ${SHLIB} ${PREFIX}/lib/libpico.so
/sbin/ldconfig -m ${PREFIX}/lib
install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bin/pico ${PREFIX}/bin/pico
install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bin/pilot ${PREFIX}/bin/pilot