mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 21:50:32 -04:00
- Remove bash dependency. - Remove SDK option. It was added to prevent installation of headers because they sometimes cause build conflicts with newer versions of qpdf due to incorrect order of -I flags. This has been fixed now. - Add DOCS option. - Replace patch-configure with CPPFLAGS/LIBS and a post-patch command in the Makefile to take into account ${LOCALBASE} and ${MAKE_CMD}. - Remove patches that have been fixed upstream. - Add a patch for libtest/build.mk to change the order of LIBS and LIBS_libqpdf. LIBS may contain user supplied -L flags like -L/usr/local/lib which have to appear after upstream -L flags so programs are linked against freshly built libraries on not an older version in /usr/local/lib. The other build.mk files already do this right. - Add a patch for make/libtool.mk to change the order of $ldflags and $libs. Upstream puts -L flags in $ldflags. PR: 207751 Approved by: d.y.kazarov@mail.ru (maintainer)
8 lines
417 B
Makefile
8 lines
417 B
Makefile
--- libtests/build.mk.orig 2015-11-10 17:48:52 UTC
|
|
+++ libtests/build.mk
|
|
@@ -40,4 +40,4 @@ $(foreach B,$(BINS_libtests),$(eval \
|
|
|
|
$(foreach B,$(BINS_libtests),$(eval \
|
|
libtests/$(OUTPUT_DIR)/$(call binname,$(B)): $(OBJS_$(B)) ; \
|
|
- $(call makebin,$(OBJS_$(B)),$$@,$(LDFLAGS) $(LDFLAGS_libqpdf),$(LIBS) $(LIBS_libqpdf))))
|
|
+ $(call makebin,$(OBJS_$(B)),$$@,$(LDFLAGS) $(LDFLAGS_libqpdf),$(LIBS_libqpdf) $(LIBS))))
|