Skip to content

Commit

Permalink
Set configure style to simple, and un-silence build/link.
Browse files Browse the repository at this point in the history
Suggested by and ok sthen@
  • Loading branch information
bentley committed Sep 7, 2011
1 parent 10dfeba commit bd79801
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emulators/openmsx/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 \
Expand Down
21 changes: 21 additions & 0 deletions emulators/openmsx/patches/patch-build_main_mk
Original file line number Diff line number Diff line change
@@ -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 $@

0 comments on commit bd79801

Please sign in to comment.