openbsd-ports/graphics/netpbm/patches/patch-pgm_Makefile
2005-12-29 15:45:42 +00:00

29 lines
713 B
Plaintext

--- pgm/Makefile.orig Sat Sep 8 21:31:29 2001
+++ pgm/Makefile Thu Dec 29 15:48:45 2005
@@ -2,6 +2,8 @@ SRCDIR = ..
BUILDDIR = ..
include $(BUILDDIR)/Makefile.config
+SOVER=$(LIBpgm_VERSION)
+
LIBROOT = pgm
LIBPGM = $(NETPBMSHLIBPREFIX)$(LIBROOT).$(NETPBMLIBSUFFIX)
MAJ = 9
@@ -33,6 +35,7 @@ MERGEBINARIES = $(BINARIES)
MERGE_OBJECTS = $(patsubst %,%.o2, $(MERGEBINARIES))
LIBOBJECTS = libpgm1.o libpgm2.o
+SHLIBOBJECTS = $(patsubst %.o, %.lo, $(LIBOBJECTS))
MANUALS1 = $(BINARIES)
MANUALS3 = libpgm
@@ -45,7 +48,7 @@ INTERFACE_HEADERS = pgm.h
.PHONY: all
all: $(PGMLIB) $(BINARIES) $(EXTRA_STATICLIB)
.PHONY: merge
-merge: $(MERGENAME)
+merge: $(MERGENAME) $(EXTRA_STATICLIB)
# LIBRARIES