svn commit: r382352 - in head/databases/sqlite2: . files
Jung-uk Kim
jkim at FreeBSD.org
Thu Mar 26 23:02:50 UTC 2015
Author: jkim
Date: Thu Mar 26 23:02:48 2015
New Revision: 382352
URL: https://svnweb.freebsd.org/changeset/ports/382352
QAT: https://qat.redports.org/buildarchive/r382352/
Log:
Fix compiler warnings, i.e., "-lpthread: 'linker' input unused".
Modified:
head/databases/sqlite2/Makefile
head/databases/sqlite2/files/patch-Makefile.in
Modified: head/databases/sqlite2/Makefile
==============================================================================
--- head/databases/sqlite2/Makefile Thu Mar 26 22:59:45 2015 (r382351)
+++ head/databases/sqlite2/Makefile Thu Mar 26 23:02:48 2015 (r382352)
@@ -65,7 +65,9 @@ post-patch:
@${ECHO} "" > ${WRKSRC}/freebsd.hints
.endif
.if ${PORT_OPTIONS:MTHREADS}
- @${ECHO} "config_TARGET_CFLAGS=\"-DTHREADSAFE=1 -lpthread\"" \
+ @${ECHO} "config_TARGET_CFLAGS=\"-DTHREADSAFE=1\"" \
+ >> ${WRKSRC}/freebsd.hints
+ @${ECHO} "config_TARGET_LIBS=\"-lpthread\"" \
>> ${WRKSRC}/freebsd.hints
.endif
Modified: head/databases/sqlite2/files/patch-Makefile.in
==============================================================================
--- head/databases/sqlite2/files/patch-Makefile.in Thu Mar 26 22:59:45 2015 (r382351)
+++ head/databases/sqlite2/files/patch-Makefile.in Thu Mar 26 23:02:48 2015 (r382352)
@@ -1,5 +1,14 @@
---- Makefile.in.orig Sat Mar 27 08:16:32 2004
-+++ Makefile.in Sun Nov 21 04:32:00 2004
+--- Makefile.in.orig 2005-04-23 18:43:23.000000000 -0400
++++ Makefile.in 2015-03-26 18:36:07.358178000 -0400
+@@ -38,7 +38,7 @@
+
+ # libtool compile/link/install
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(TCC)
+-LTLINK = $(LIBTOOL) --mode=link $(TCC)
++LTLINK = $(LIBTOOL) --mode=link $(TCC) @TARGET_LIBS@
+ LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ # Compiler options needed for programs that use the TCL library.
@@ -471,8 +471,12 @@
$(LTINSTALL) sqlite $(DESTDIR)$(exec_prefix)/bin
$(INSTALL) -d $(DESTDIR)$(prefix)/include
More information about the svn-ports-all
mailing list