summaryrefslogtreecommitdiff
path: root/devel/ncurses/patches/patch-ad
blob: f4ecaf27af10b2e6fe1f60b15867f8122514e686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ad,v 1.8 2004/03/08 13:26:03 wiz Exp $

--- c++/Makefile.in.orig	Fri Jan 16 23:44:56 2004
+++ c++/Makefile.in
@@ -149,7 +149,7 @@ LIB_OBJS = \
 
 ../lib/$(LIBNAME_LIBTOOL) : $(LIB_OBJS)
 	cd ../lib && $(LIBTOOL_LINK) $(CXX) $(CXXFLAGS) \
-		-o $(LIBNAME) $(LIB_OBJS:$o=.lo) \
+		-o $(LIBNAME) $(LIB_OBJS:.o=.lo) \
 		-rpath $(INSTALL_PREFIX)$(libdir) \
 		-version-info $(NCURSES_MAJOR):$(NCURSES_MINOR) $(SHLIB_LIST)
 
@@ -184,7 +184,7 @@ mostlyclean ::
 clean :: mostlyclean
 	-sh -c "if test -n '$x' ; then $(MAKE) clean x=''; fi"
 	-rm -rf $(MODEL)/SunWS_cache
-	-$(LIBTOOL_CLEAN) rm -f demo$x $(AUTO_SRC) ../lib/$(LIBNAME) $(LIB_OBJS) $(LIB_OBJS:$o=.lo) $(OBJS_DEMO)
+	-$(LIBTOOL_CLEAN) rm -f demo$x $(AUTO_SRC) ../lib/$(LIBNAME) $(LIB_OBJS) $(LIB_OBJS:.o=.lo) $(OBJS_DEMO)
 	-rm -rf .libs
 
 distclean :: clean