49b1e9516f
- fix the build error with custom LOCALBASE [1] Submitted by: maintainer Reported by: QATty [1]
15 lines
757 B
Text
15 lines
757 B
Text
--- src/Makefile.generic.orig 2008-04-06 14:25:38.000000000 +0800
|
|
+++ src/Makefile.generic 2008-04-06 14:26:50.000000000 +0800
|
|
@@ -225,9 +225,9 @@
|
|
#TODO: add version and symlink
|
|
install: all
|
|
install -d $(PREFIX)/include $(PREFIX)/lib
|
|
- install -m0644 $(SIMLIB_HEADERS) $(PREFIX)/include
|
|
- install -m0644 $(LIBNAME).a $(PREFIX)/lib/lib$(LIBNAME).a
|
|
- install -m0644 $(LIBNAME).so $(PREFIX)/lib/lib$(LIBNAME).so
|
|
+ $(BSD_INSTALL_DATA) $(SIMLIB_HEADERS) %%PREFIX%%/include
|
|
+ $(BSD_INSTALL_PROGRAM) $(LIBNAME).a %%PREFIX%%/lib/lib$(LIBNAME).a
|
|
+ $(BSD_INSTALL_PROGRAM) $(LIBNAME).so %%PREFIX%%/lib/lib$(LIBNAME).so
|
|
@if ! grep '^'$(PREFIX)/lib'$$' /etc/ld.so.conf >/dev/null; then \
|
|
echo "Add $(PREFIX)/lib to /etc/ld.so.conf "; \
|
|
fi
|