Fix build on amd64. Patch from Moritz Wilhelmy.

This commit is contained in:
Thomas Klausner 2011-07-14 11:50:47 +00:00
parent 879848cef2
commit 2cca5e6998
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.6 2011/02/13 21:02:54 mwilhelmy Exp $
$NetBSD: distinfo,v 1.7 2011/07/14 11:50:47 thomasklausner Exp $
SHA1 (xrdp-0.4.2.tar.gz) = 82bb858661ada174faf88d3b273cd8c5f39238f3
RMD160 (xrdp-0.4.2.tar.gz) = 294c26a1d8dde6c0aae490a1db0ee6b16c07e662
@ -17,4 +17,4 @@ SHA1 (patch-al) = 8fab338adeedaef4fc601dff0f97f5e86e973f11
SHA1 (patch-am) = 7687456a5d7a4125964df430874b5dd9bb98fad4
SHA1 (patch-an) = 9f4c57521dae4c7a2b29d1c1f7b2a306bc9428d2
SHA1 (patch-ao) = 708ecedee131f65e9198cff216368b72d341a724
SHA1 (patch-ap) = e770159a3539897e44857c2162e402f91386eedb
SHA1 (patch-ap) = 7549e9ddfc5645f1d1ece10ded78c17d6608f592

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ap,v 1.1 2011/02/13 21:02:54 mwilhelmy Exp $
$NetBSD: patch-ap,v 1.2 2011/07/14 11:50:47 thomasklausner Exp $
--- sesman/libscp/Makefile.orig 2011-02-07 16:23:40.000000000 +0100
+++ sesman/libscp/Makefile 2011-02-07 16:32:21.000000000 +0100
@ -21,7 +21,7 @@ $NetBSD: patch-ap,v 1.1 2011/02/13 21:02:54 mwilhelmy Exp $
-CFLAGS = -Wall -O2 -I../../common -I/usr/include/nptl -fPIC $(DEFINES)
-LDFLAGS = -shared -L/usr/gnu/lib -L/usr/lib/nptl -lpthread
+CFLAGS += -Wall -I../../common -I/usr/include/nptl $(DEFINES)
+CFLAGS += -Wall -fPIC -I../../common -I/usr/include/nptl $(DEFINES)
+LDFLAGS += -shared -L/usr/gnu/lib -L/usr/lib/nptl -Wl,-rpath,. $(DLLIB) -lpthread
C_OS_FLAGS = $(CFLAGS) -c
-CC = gcc