Set configure style to simple, and un-silence build/link.

Suggested by and ok sthen@
This commit is contained in:
bentley 2011-09-07 01:35:41 +00:00
parent 381339f629
commit da40c4af7f
2 changed files with 23 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2011/08/30 05:02:48 bentley Exp $
# $OpenBSD: Makefile,v 1.3 2011/09/07 01:35:41 bentley Exp $
COMMENT = MSX home computer emulator
@ -15,7 +15,7 @@ PERMIT_DISTFILES_CDROM =claims GPLv2, but no copyright notices in source files
PERMIT_DISTFILES_FTP = claims GPLv2, but no copyright notices in source files
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=openmsx/}
CONFIGURE_STYLE = gnu
CONFIGURE_STYLE = simple
MAKE_ENV += INSTALL_BASE=${PREFIX}/share/openmsx \
INSTALL_BINARY_DIR=${PREFIX}/bin \

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-build_main_mk,v 1.1 2011/09/07 01:35:41 bentley Exp $
--- build/main.mk.orig Tue Aug 30 20:40:16 2011
+++ build/main.mk Tue Aug 30 20:41:36 2011
@@ -525,7 +525,7 @@ $(OBJECTS_FULL): $(OBJECTS_PATH)/%.o: $(SOURCES_PATH)/
@echo "Compiling $(patsubst $(SOURCES_PATH)/%,%,$<)..."
@mkdir -p $(@D)
@mkdir -p $(patsubst $(OBJECTS_PATH)%,$(DEPEND_PATH)%,$(@D))
- @$(COMPILE_ENV) $(CXX) \
+ $(COMPILE_ENV) $(CXX) \
$(DEPEND_FLAGS) -MMD -MF $(DEPEND_SUBST) \
-o $@ $(CXXFLAGS) $(COMPILE_FLAGS) -c $<
@touch $@ # Force .o file to be newer than .d file.
@@ -568,7 +568,7 @@ $(BINARY_FULL): $(OBJECTS_FULL) $(RESOURCE_OBJ)
ifeq ($(OPENMSX_SUBSET),)
@echo "Linking $(notdir $@)..."
@mkdir -p $(@D)
- @$(LINK_ENV) $(CXX) -o $@ $(CXXFLAGS) $^ $(LINK_FLAGS)
+ $(LINK_ENV) $(CXX) -o $@ $(CXXFLAGS) $^ $(LINK_FLAGS)
ifeq ($(STRIP_SEPARATE),true)
@echo "Stripping $(notdir $@)..."
@strip $@