summaryrefslogtreecommitdiff
path: root/misc/rpm/patches/patch-bc
blob: 9cbc8e963c232cad4763d033d096ca16c79c04ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-bc,v 1.2 2001/07/15 22:38:15 jlam Exp $

--- popt/Makefile.in.orig	Sun Sep 27 10:57:03 1998
+++ popt/Makefile.in
@@ -16,7 +16,7 @@
 LIBS=$(prefix)/lib
 INCLUDE=$(prefix)/include
 CPP=@CPP@
-LDFLAGS=@LIBS@
+LDFLAGS=@LDFLAGS@ @LIBS@
 TESTCASES=test1
 
 VERSION=$(shell awk '/define version/ { print $$3 }' popt.spec)
@@ -63,8 +63,8 @@
 install:
 	mkdir -p $(PREFIX)/$(INCLUDE)
 	mkdir -p $(PREFIX)/$(LIBS)
-	$(INSTALL_DATA) -m 644 popt.h $(PREFIX)/$(INCLUDE)/popt.h
-	$(INSTALL_DATA) -m 644 $(LIBPOPT) $(PREFIX)/$(LIBS)/$(LIBPOPT)
+	$(BSD_INSTALL_DATA) popt.h $(PREFIX)/$(INCLUDE)/popt.h
+	$(BSD_INSTALL_DATA) $(LIBPOPT) $(PREFIX)/$(LIBS)/$(LIBPOPT)
 
 archive:
 	cvs tag -F $(CVSTAG) .