mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-23 11:45:18 -04:00
48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
$NetBSD: patch-ab,v 1.18 2015/08/17 17:10:32 wiz Exp $
|
|
|
|
--- mk-1st.awk.orig 2014-12-20 23:54:22.000000000 +0000
|
|
+++ mk-1st.awk
|
|
@@ -447,7 +447,7 @@ END {
|
|
which_list = "SHLIB_LIST";
|
|
}
|
|
printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) $(%s) \\\n", CC_NAME, CC_FLAG;
|
|
- printf "\t\t-o %s $(%s_OBJS:$o=.lo) \\\n", lib_name, OBJS;
|
|
+ printf "\t\t-o %s $(%s_OBJS:.o=.lo) \\\n", lib_name, OBJS;
|
|
printf "\t\t-rpath $(DESTDIR)$(libdir) \\\n";
|
|
printf "\t\t%s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(%s) $(LDFLAGS)\n", libtool_version, which_list;
|
|
print ""
|
|
@@ -471,7 +471,7 @@ END {
|
|
printf "\t$(RANLIB) $@\n"
|
|
if ( host == "vxworks" )
|
|
{
|
|
- printf "\t$(LD) $(LD_OPTS) $? -o $(@:.a=$o)\n"
|
|
+ printf "\t$(LD) $(LD_OPTS) $? -o $(@:.a=.o)\n"
|
|
}
|
|
print ""
|
|
print "install \\"
|
|
@@ -517,7 +517,7 @@ END {
|
|
print "mostlyclean::"
|
|
printf "\t-rm -f $(%s_OBJS)\n", OBJS
|
|
if ( MODEL == "LIBTOOL" ) {
|
|
- printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS
|
|
+ printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:.o=.lo)\n", OBJS
|
|
}
|
|
}
|
|
else if ( found == 2 )
|
|
@@ -526,13 +526,13 @@ END {
|
|
print "mostlyclean::"
|
|
printf "\t-rm -f $(%s_OBJS)\n", OBJS
|
|
if ( MODEL == "LIBTOOL" ) {
|
|
- printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS
|
|
+ printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:.o=.lo)\n", OBJS
|
|
}
|
|
print ""
|
|
print "clean ::"
|
|
printf "\t-rm -f $(%s_OBJS)\n", OBJS
|
|
if ( MODEL == "LIBTOOL" ) {
|
|
- printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS
|
|
+ printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:.o=.lo)\n", OBJS
|
|
}
|
|
}
|
|
}
|