Skip to content

Commit

Permalink
fixes for precise
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jan 22, 2014
1 parent edaff09 commit 959f347
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ BUILD_PACKAGE = $(shell ./build-deb)
PKG_INSTALL = apt-get install
AS_ROOT = sudo
CFLAGS = -g -Wall
LSB_CS = $(shell lsb_release -cs)
CC_OPTS_LIBCPUID = $(shell pkg-config libcpuid --cflags --libs)
CC_OPTS_LIBPROCPS = $(shell pkg-config libprocps --cflags --libs)

GBC = /usr/bin/gbc3
GBCOPTS = -eagtpmv
GBA = gba3
Expand All @@ -29,6 +30,11 @@ endif
ifeq ($(ARCH),x86_64)
additional_confflags := -O2
endif
ifeq ($(LSB_CS),precise)
CC_OPTS_LIBPROCPS = -lproc
else
CC_OPTS_LIBPROCPS = $(shell pkg-config libprocps --cflags --libs)
endif
dependency_build ?= git \
devscripts \
pkg-config \
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 7),
pkg-config, dpkg-dev (>= 1.14.17),
debhelper (>= 5.0.0),
libcpuid11,
libprocps0-dev|libprocps3-dev,
libprocps0-dev|libprocps3-dev|libproc-dev,
gambas3-dev (>= 3.0.90),
gambas3-dev (<< 3.99.0),
gambas3-gb-image (>= 3.0.90),
Expand Down

0 comments on commit 959f347

Please sign in to comment.