head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2016.04.05.20.52.34; author khorben; state dead; branches; next 1.1; commitid YsVJl9TQNUEzOt1z; 1.1 date 2016.02.22.12.42.56; author khorben; state Exp; branches; next ; commitid vCWVmJf4TerlvUVy; desc @@ 1.2 log @Package DeforaOS Mailer 0.1.8 This release brings: - re-license as 3-clause BSD - explicitly disable SSLv2 (security) - functionality fix - better support for IPv6 - better support for Gtk+ 3 - build fixes - Spanish translation @ text @$NetBSD: patch-src_Makefile,v 1.1 2016/02/22 12:42:56 khorben Exp $ Always build libraries with -fPIC --- src/Makefile.orig 2016-02-20 14:42:07.000000000 +0000 +++ src/Makefile @@@@ -7,8 +7,8 @@@@ LIBDIR = $(PREFIX)/lib CC = cc CPPFLAGSF= CPPFLAGS= -CFLAGSF = -W `pkg-config --cflags libDesktop` -CFLAGS = -Wall -g -O2 -pedantic -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-all +CFLAGSF = `pkg-config --cflags libDesktop` +CFLAGS = -W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all LDFLAGSF= `pkg-config --libs libDesktop` -lintl LDFLAGS = -Wl,-z,relro -Wl,-z,now EXEEXT = @@@@ -34,7 +34,7 @@@@ subdirs: else $(MAKE); fi) || exit; done libMailer_OBJS = $(OBJDIR)account.o $(OBJDIR)callbacks.o $(OBJDIR)compose.o $(OBJDIR)folder.o $(OBJDIR)helper.o $(OBJDIR)mailer.o $(OBJDIR)message.o -libMailer_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) +libMailer_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) -fPIC libMailer_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) `pkg-config --libs openssl` -lssl $(OBJDIR)libMailer.a: $(libMailer_OBJS) @ 1.1 log @Add support for LDFLAGS Fixes build with the default settings. @ text @d1 1 a1 1 $NetBSD$ @