summaryrefslogtreecommitdiff
blob: ca8798d21b919151b7d9d72bd21f81db247c5bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
The Makefile doesn't actually use the SYS variable and having it 
set in your env can cause weird build failures.  Just punt it.

http://bugs.gentoo.org/show_bug.cgi?id=83000

--- portmap/Makefile
+++ portmap/Makefile
@@ -109,7 +109,7 @@
 SHELL	= /bin/sh
 
 COPT	= $(CONST) -Dperror=xperror $(CHECK_PORT) \
-	$(SYS) -DFACILITY=$(FACILITY) $(ULONG) $(ZOMBIES) $(SA_LEN) \
+	-DFACILITY=$(FACILITY) $(ULONG) $(ZOMBIES) $(SA_LEN) \
 	$(LOOPBACK) $(SETPGRP)
 CFLAGS	= $(COPT) $(O) $(NSARCHS)
 OBJECTS	= portmap.o pmap_check.o from_local.o $(AUX)