pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/41636
The following reply was made to PR pkg/41636; it has been noted by GNATS.
From: Yorick Hardy <yorickhardy%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/41636
Date: Thu, 25 Jun 2009 21:14:30 +0200
This is a multi-part message in MIME format.
--------------040304090807020106070209
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
This probably assumes the compiler is GCC.
Should that also be tested?
--
Kind regards,
Yorick Hardy
--------------040304090807020106070209
Content-Type: text/plain;
name="plib.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="plib.patch"
Index: games/plib/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/plib/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- games/plib/Makefile 12 Jun 2008 02:14:30 -0000 1.22
+++ games/plib/Makefile 25 Jun 2009 18:38:37 -0000
@@ -15,6 +15,10 @@
USE_LANGUAGES= c c++
CPPFLAGS+= -Dunix=1
+.if ${MACHINE_ARCH} == "x86_64"
+CXXFLAGS+= -fPIC
+.endif
+
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
--------------040304090807020106070209--
Home |
Main Index |
Thread Index |
Old Index