Fix build as a user.

USES+=uidfix dos2unix shebangfix

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-04-18 17:10:16 +00:00
parent 5a9e3a5b0a
commit 81c76da1e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351551
2 changed files with 16 additions and 5 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= svgalib
PORTVERSION= 1.4.3
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= graphics devel
MASTER_SITES= http://www.svgalib.org/
@ -12,8 +12,9 @@ COMMENT= A low level console graphics library
ONLY_FOR_ARCHS= i386 amd64
USE_DOS2UNIX= utils/gtf/gtf.h utils/gtf/scitech.h
USES= gmake
USES= gmake uidfix dos2unix shebangfix
DOS2UNIX_FILES= utils/gtf/gtf.h utils/gtf/scitech.h
SHEBANG_FILES= utils/svgakeymap
USE_LDCONFIG= yes
ALL_TARGET= shared static

View file

@ -1,5 +1,5 @@
--- Makefile.cfg.orig Tue May 29 21:39:13 2001
+++ Makefile.cfg Thu Jul 31 18:12:15 2003
--- Makefile.cfg.orig 2001-05-29 16:39:13.000000000 +0200
+++ Makefile.cfg 2014-04-18 19:02:17.000000000 +0200
@@ -9,8 +9,8 @@
# to n means yes!
@ -110,3 +110,13 @@
#
# Comment out any dac support that you don't want included in the library.
@@ -289,6 +289,6 @@
# Utilites used.
AR = ar
-INSTALL_PROGRAM = install -c -s -m 755 -o root -g bin
-INSTALL_SHLIB = install -c -m 755 -o root -g bin
-INSTALL_DATA = install -c -m 644 -o root -g bin
+INSTALL_PROGRAM ?= install -c -s -m 755
+INSTALL_SHLIB ?= install -c -m 755
+INSTALL_DATA ?= install -c -m 644