Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] cmake vs makefile, packaging

I am working on an entry for mosquitto in pkgsrc, a portable multi-OS
multi-CPU packaging system.

I am currently on 1.4.15, for no good reason, but wanted to ask about an
issue before proceeding to update.

I am puzzled by the instrucitons in readme.md, which say to use include
plain makefiles on all systems except windows and mac, and to use cmake
there.  It seems that if the cmake build is ok, then it should be used
everywhere, and there should only be one build system -- but perhaps I
am missing something.

One issue is that in pkgsrc, mac is not viewed as so special; it's just
a flavor of POSIX, alongside e.g. NetBSD, Linux, Illumos, and many
others.

I did notice that building with the makefiles vs cmake caused a
different in installed files; the diff is below.  Certainly having the
full version as the file and the others as links seems normal to me.

  Thanks,
  Greg


diff --git a/mosquitto/PLIST b/mosquitto/PLIST
index 96a9ce182a..eeeeffc160 100644
--- a/mosquitto/PLIST
+++ b/mosquitto/PLIST
@@ -7,8 +7,10 @@ include/mosquitto_plugin.h
 include/mosquittopp.h
 lib/libmosquitto.so
 lib/libmosquitto.so.1
+lib/libmosquitto.so.${PKGVERSION}
 lib/libmosquittopp.so
 lib/libmosquittopp.so.1
+lib/libmosquittopp.so.${PKGVERSION}
 man/man1/mosquitto_passwd.1
 man/man1/mosquitto_pub.1
 man/man1/mosquitto_sub.1


Back to the top