opnsense-ports/comms/rxtx/files/patch-Makefile.in
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

21 lines
688 B
Text

--- Makefile.in.orig 2008-12-31 10:29:12.000000000 +0800
+++ Makefile.in 2014-05-23 10:05:55.350336425 +0800
@@ -619,13 +619,15 @@ $(CLASSES): $(javafiles) $(TOP)/Makefile
# install librxtxSerial.so into the proper directory and copy $(JARTARGET) to its
# proper location
install: all
+ @$(MKDIR_P) $(DESTDIR)$(RXTX_PATH)
@$(LIBTOOL_INST) \
`for i in $(TARGETLIB);do \
if [ -f $$i ];then \
- echo $$i; \
+ echo $(TOP)/$$i; \
fi; \
- done` $(RXTX_PATH)
- $(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/
+ done` $(DESTDIR)$(RXTX_PATH)
+ @$(MKDIR_P) $(DESTDIR)$(JHOME)
+ $(BSD_INSTALL_DATA) $(JARTARGET) $(DESTDIR)$(JHOME)/
clean-generic:
rm -rf $(DEST) $(TOP)/$(CLASSTOP)