pkgsrc/emulators/kegs/patches/patch-af
wiz 2d6b385783 kegs: do not overwrite LDFLAGS.
Fixes RELRO build. Bump PKGREVISION.
2018-03-06 15:29:13 +00:00

25 lines
538 B
Text

$NetBSD: patch-af,v 1.2 2018/03/06 15:29:13 wiz Exp $
--- src/vars_solaris.orig 2004-12-07 00:42:47.000000000 +0000
+++ src/vars_solaris
@@ -2,11 +2,10 @@
TARGET = xkegs
OBJECTS = $(OBJECTS1) xdriver.o
CC = cc
-CCOPTS = -O
+CCOPTS = ${CFLAGS}
OPTS = -DNDEBUG -DSOLARIS
SUFFIX =
NAME = xkegs
-LDFLAGS =
LDOPTS =
LD = $(CC)
EXTRA_LIBS = -lXext -lX11 -lsocket -lnsl
@@ -15,6 +14,6 @@ EXTRA_SPECIALS =
AS = cc
PERL = perl
-XOPTS = -I/usr/X/include
-XLIBS = -L/usr/X/lib
+XOPTS = -I${X11BASE}/include
+XLIBS = -L${X11BASE}/lib